Capítulo 391 de 859
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
| Signature |
|---|
new BypassNode( outputNode : Node, callNode : Node ) |
Properties
| Property | Description |
|---|---|
.callNode : Node | The call node. |
.isBypassNode : boolean (readonly) | This flag can be used for type testing. |
.outputNode : Node | The output node. |