SplitNode

Last modified: Jun 30, 2024

This module is part of the TSL core and usually not used in app level code. SplitNode represents a property access operation which means it is used to implement any .xyzw, .rgba and stpq usage on node objects. For example:

const redValue = color.r;
export {}

Constructor

new SplitNode(node, components?)
ParameterTypeDefault Value
nodeNode
components?stringx

Constructs a new split node.

AccessorType

Properties

PropertyTypeDefault Value
nodeNode
componentsstring
isSplitNodeboolean
MethodType

Extends

Node