BypassNode

Last modified: Mar 24, 2025

The class generates the code of a given node but returns another node in the output. This can be used to call a method or node that does not return a value, i.e. type void on an input where returning a value is required. Example:

material.colorNode = myColor.bypass( runVoidFn() )

Constructor

new BypassNode(outputNode, callNode)
ParameterTypeDefault Value
outputNodeNode
callNodeNode

Constructs a new bypass node.

AccessorTypeModifiers
get typestringstatic
MethodTypeModifiers

Extends

Node

bypass

ParameterTypeDefault Value
outputNodeNode
callNodeNode

Returns

BypassNode