NodeVar

Last modified: Feb 5, 2025

{@link NodeBuilder} is going to create instances of this class during the build process of nodes. They represent the final shader variables that are going to be generated by the builder. A dictionary of node variables is maintained in {@link NodeBuilder#vars} for this purpose.

Constructor

new NodeVar(name, type, readOnly?, count?)
ParameterTypeDefault Value
namestring
typestring
readOnly?booleanfalse
count?null | numbernull

Constructs a new node variable.