Constructor
new ModelNode( scope : 'position' | 'viewPosition' | 'direction' | 'scale' | 'worldMatrix' )
Constructs a new object model node.
| scope |
The node represents a different type of transformation depending on the scope. |
Methods
.update( frame : NodeFrame )
Extracts the model reference from the frame state and then updates the uniform value depending on the scope.
| frame |
The current node frame. |
- Overrides: Object3DNode#update