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 ) );
export {}Constructor
new SetNode(sourceNode, components, targetNode)| Parameter | Type | Default Value |
|---|---|---|
| sourceNode | Node | — |
| components | string | — |
| targetNode | Node | — |
Constructs a new set node.
| Accessor | Type | |
|---|---|---|
| get type | string | |
Properties
| Property | Type | Default Value | |
|---|---|---|---|
| sourceNode | Node | — | |
| components | string | — | |
| targetNode | Node | — | |
| Method | Type | |
|---|---|---|
| generateNodeType | (builder: NodeBuilder) => string | |
| generate | (builder: any) => string | |
Extends
TempNode