ChangedNode
Describes a single node that was added, or modified, paired with the categories of changes that affected it and any of its ports that were also affected.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Struct
- Namespace: Unity.GraphToolkit.Editor
- Assembly: UnityEditor
public readonly struct ChangedNode
Remarks
A removed node does not have a matching ChangedNode. ChangedNode.Node is either a user-defined Node subclass or an IVariableNode.
For a usage example, see GraphChanges.
Properties
Property | Description |
|---|---|
| ChangedPorts | Ports of this node that were added, removed, or modified. |
| ChangeKinds | The categories of changes that affected this node, as a set of ChangeKind flags. |
| ID | The unique identifier of the node. |
| Node | The node that was modified. |