Constructor
new UniformGroupNode( name : string, shared : boolean, order : number, updateType : string | null )
Constructs a new uniform group node.
| name |
The name of the uniform group node. |
| shared |
Whether this uniform group node is shared or not. Default is |
| order |
Influences the internal sorting. Default is |
| updateType |
The update type of the uniform group node. Default is |
Properties
.isUniformGroup : boolean (readonly)
This flag can be used for type testing.
Default is true.
.order : number
Influences the internal sorting. TODO: Add details when this property should be changed.
Default is 1.
.shared : boolean
Whether this uniform group node is shared or not.
Default is false.
.updateType : string | null
The update type of the uniform group node.
Default is null.
- Overrides: Node#updateType
Methods
.deserialize( data : Object )
Deserializes the uniform group node from a JSON object.
| data |
The object containing the serialized data. |
- Overrides: Node#deserialize
.serialize( data : Object )
Serializes the uniform group node to a JSON object.
| data |
The object to store the serialized data. |
- Overrides: Node#serialize
.update()
Marks the uniform group node as needing an update. This will trigger the necessary updates in the rendering process.
- Overrides: Node#update