{@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?)| Parameter | Type | Default Value |
|---|---|---|
| name | string | — |
| type | string | — |
| readOnly? | boolean | false |
| count? | null | number | null |
Constructs a new node variable.