Class for representing a uniform.
Constructor
new UniformNode(value, nodeType?)| Parameter | Type | Default Value |
|---|---|---|
| value | any | — |
| nodeType? | null | string | null |
Constructs a new uniform node.
| Accessor | Type | Modifiers |
|---|---|---|
| get type | string | static |
| Method | Type | Modifiers |
|---|---|---|
| setName | (name: string) => UniformNode | — |
| label | (name: string) => UniformNode | — |
| setGroup | (group: UniformGroupNode) => UniformNode | — |
| getGroup | () => UniformGroupNode | — |
| getUniformHash | (builder: NodeBuilder) => string | — |
| onUpdate | (callback: any, updateType: any) => Node | — |
| getInputType | (builder: any) => string | — |
| generate | (builder: any, output: any) => any | — |
Extends
InputNode| Parameter | Type | Default Value |
|---|---|---|
| value | any | — |
| type | undefined | string | — |
Returns
UniformNode