-
-
Notifications
You must be signed in to change notification settings - Fork 597
NodeGraph
Thor Brigsted edited this page Jan 2, 2018
·
2 revisions
Base class for all node graphs
public abstract class XNode.NodeGraph
: ScriptableObject
Fields
Type | Name | Summary |
---|---|---|
List<Node> |
nodes | All nodes in the graph. See: |
Methods
Type | Name | Summary |
---|---|---|
T |
AddNode() | Add a node to the graph by type |
Node |
AddNode(Type type) |
Add a node to the graph by type |
void |
Clear() | Remove all nodes and connections from the graph |
NodeGraph |
Copy() | Create a new deep copy of this graph |
Node |
CopyNode(Node original) |
Creates a copy of the original node in the graph |
void |
RemoveNode(Node node) |
Safely remove a node and all its connections |