File: SetNode.md | Updated: 11/15/2025
This module is part of the TSL core and usually not used in app level code. SetNode represents a set operation which means it is used to implement any setXYZW(), setRGBA() and setSTPQ() method invocations on node objects. For example:
materialLine.colorNode = color( 0, 0, 0 ).setR( float( 1 ) );
Constructs a new set node.
sourceNode | The node that should be updated.
---|---
components | The components that should be updated.
targetNode | The value node.
The components that should be updated.
The node that should be updated.
The value node.
This method is overwritten since the node type is inferred from SetNode#sourceNode.
builder | The current node builder.
---|---
Overrides: TempNode#getNodeType
Returns: The node type.