NodeVar

Last modified: Jun 30, 2024

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 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.

Properties

PropertyTypeDefault Value
isNodeVarboolean
namestring
typestring
readOnlyboolean
countnull | number