Synced
GraphPortDefinition.Constructor
Section titled “GraphPortDefinition.Constructor”
- Creates a graph port definition.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Core.Graphs
Declaration
Section titled “Declaration”public Inno.Core.Graphs.GraphPortDefinition.GraphPortDefinition(Inno.Core.Graphs.GraphPortId id, string displayName, string valueTypeId, Inno.Core.Graphs.GraphPortDirection direction, Inno.Core.Graphs.GraphPortCapacity capacity = Inno.Core.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.