Synced
GraphPortDefinition.Constructor
Section titled “GraphPortDefinition.Constructor”
- Creates a graph port definition.
Required contracts
Section titled “Required contracts”API: scripting
Project: Inno.Core.Graphs
Scope: Runtime
Declaration
Section titled “Declaration”public InnoEngine.Graphs.GraphPortDefinition.GraphPortDefinition(InnoEngine.Graphs.GraphPortId id, string displayName, string valueTypeId, InnoEngine.Graphs.GraphPortDirection direction, InnoEngine.Graphs.GraphPortCapacity capacity = InnoEngine.Graphs.GraphPortCapacity.Single, bool required = false)Parameters
Section titled “Parameters”Parameter id: Stable node-local port identifier.
Parameter displayName: Artist-facing display name.
Parameter valueTypeId: Stable value type identifier.
Parameter direction: Value-flow direction.
Parameter capacity: Allowed edge capacity.
Parameter required: Whether an input must be connected.