Skip to content

Documentation / scene / NodeConnection

Interface: NodeConnection

Defined in: libs/scene/src/utility/blueprint/node.ts:42

Represents a connection between two nodes

Remarks

Defines the complete information for connecting from an output slot of one node to an input slot of another node.

Example

typescript
const connection: NodeConnection = {
  targetNodeId: 42,
  startSlotId: 0,  // Output slot of source node
  endSlotId: 1     // Input slot of target node
};

Properties

targetNodeId

targetNodeId: number

Defined in: libs/scene/src/utility/blueprint/node.ts:43


startSlotId

startSlotId: number

Defined in: libs/scene/src/utility/blueprint/node.ts:44


endSlotId

endSlotId: number

Defined in: libs/scene/src/utility/blueprint/node.ts:45

Released under the MIT License.