FlipNode

Last modified: Mar 5, 2026

This module is part of the TSL core and usually not used in app level code. It represents a flip operation during the shader generation process meaning it flips normalized values with the following formula:

x = 1 - x;

FlipNode is internally used to implement any flipXYZW(), flipRGBA() and flipSTPQ() method invocations on node objects. For example:

uvNode = uvNode.flipY();
export {}

Constructor

new FlipNode(sourceNode, components)
ParameterTypeDefault Value
sourceNodeNode
componentsstring

Constructs a new flip node.

AccessorType

Properties

PropertyTypeDefault Value
sourceNodeNode
componentsstring
MethodType

Extends

TempNode