Node.IOptionDefinitionContext
Interface that provides methods to declare node options inside a node.
Read time 1 minuteLast updated 7 days ago
Definition
- Type: Interface
- Namespace: Unity.GraphToolkit.Editor
- Assembly: UnityEditor
public interface Node.IOptionDefinitionContext
Remarks
Use to add node options on nodes. Node options appear under the node header and in the inspector when a node is selected. They are appropriate for parameters that affect how a node behaves or changes its topology, such as modifying the number of ports.
Methods
Method | Description |
|---|---|
| AddOption | Adds a new node option. |