Capítulo 471 de 859
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 ) );
Constructor
| Signature |
|---|
new SetNode( sourceNode : Node, components : string, targetNode : Node ) |
Properties
| Property | Description |
|---|---|
.components : string | The components that should be updated. |
.sourceNode : Node | The node that should be updated. |
.targetNode : Node | The value node. |
Methods
| Method | Description |
|---|---|
.generateNodeType( builder : NodeBuilder ) : string | This method is overwritten since the node type is inferred from SetNode#sourceNode. |