Enum PortDirection
Specifies the direction of a port in the graph.
Namespace: Unity.GraphToolkit.Editor
Assembly: Unity.GraphToolkit.Common.Editor.dll
Syntax
[Flags]
public enum PortDirection
Remarks
Use PortDirection to indicate whether a port receives or sends information. This enum supports bitwise operations which allows for combinations of values, although most ports are either Input or Output. The direction affects how the port is used in the graph. Input ports receive connections and typically appear on the left side of a node. Output ports initiate connections and typically appear on the right side of a node. Use None when a port has no fixed direction.
Fields
Name | Description |
---|---|
Input | The port receives information. It accepts connections from output ports. |
None | The port does not have a fixed direction. It may receive or send information. |
Output | The port sends information. It creates connections to input ports. |