Class BaseNode
Represents a node of a Graph.
public class BaseNode : ScriptableObject
- Inheritance
-
BaseNode
- Derived
- Inherited Members
-
Object.Instantiate(Object, Vector3, Quaternion)Object.Instantiate(Object)Object.Instantiate(Object, Transform)Object.Instantiate<T>(T)Object.Instantiate<T>(T, Vector3, Quaternion)Object.Instantiate<T>(T, Vector3, Quaternion, Transform)Object.Instantiate<T>(T, Transform)Object.Destroy(Object)Object.DestroyImmediate(Object)Object.DestroyObject(Object)Object.FindObjectsOfType<T>()Object.nameObject.hideFlags
Remarks
All graph nodes must extend from this type.
Fields
- enable
Allows the node to be active or inactive. When inactive it will return its inputs without alter them.
- rect
The rectangle this node occupies when displayed visually.
Properties
- Id
Gets the id of this node.
- Inputs
A list of nodes that are the inputs for this node.
- Width
Gets the width this node is displayed at.
Methods
- AddNodeInput(BaseNode)
Adds a node to this node's inputs.
- Recompute()
Recomputes dynamic internal data.
- RemoveNodeInput(BaseNode)
Removes the given node from the list of input nodes of this node.
- UpdateStatic()
Updates a nodes outputs without recomputing internal (possibly random) values.