NodeCode

Last modified: Feb 5, 2025

{@link NodeBuilder} is going to create instances of this class during the build process of nodes. They represent user-defined, native shader code portions that are going to be injected by the builder. A dictionary of node codes is maintained in {@link NodeBuilder#codes} for this purpose.

Constructor

new NodeCode(name, type, code?)
ParameterTypeDefault Value
namestring
typestring
code?string

Constructs a new code node.