Documentation / scene / GraphNodeOutput
Type Alias: GraphNodeOutput
GraphNodeOutput =
object
Defined in: libs/scene/src/utility/blueprint/node.ts:188
Output slot definition for a graph node
Remarks
Describes an output connection point on a node, including optional swizzling and type casting information.
Example
typescript
const output: GraphNodeOutput = {
id: 0,
name: 'result',
swizzle: 'xyz', // Extract only xyz components from a vec4
cast: 2 // Cast to type at index 2
};Properties
id
id:
number
Defined in: libs/scene/src/utility/blueprint/node.ts:190
Unique identifier for this output slot
name
name:
string
Defined in: libs/scene/src/utility/blueprint/node.ts:192
Display name of the output
swizzle?
optionalswizzle?:string
Defined in: libs/scene/src/utility/blueprint/node.ts:198
Swizzle mask for vector component extraction
Remarks
E.g., 'xyz', 'xy', 'r', 'rgba' for accessing specific components
Example
ts
'xyz' extracts first 3 components from vec4