SetNode

Last modified: Jun 30, 2024

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)
ParameterTypeDefault Value
sourceNodeNode
componentsstring
targetNodeNode

Constructs a new set node.

AccessorType

Properties

PropertyTypeDefault Value
sourceNodeNode
componentsstring
targetNodeNode
MethodType

Extends

TempNode