Properties
.previousCameraViewMatrix : UniformNode.<mat4>
Uniform node representing the previous view matrix.
Default is null.
.previousModelWorldMatrix : UniformNode.<mat4>
Uniform node representing the previous model matrix in world space.
Default is null.
.previousProjectionMatrix : UniformNode.<mat4>
Uniform node representing the previous projection matrix.
Default is null.
.projectionMatrix : Matrix4
The current projection matrix.
Default is null.
.updateAfterType : string
Overwritten since velocity nodes save data after the update.
Default is 'object'.
- Overrides: TempNode#updateAfterType
.updateType : string
Overwritten since velocity nodes are updated per object.
Default is 'object'.
- Overrides: TempNode#updateType
Methods
.setProjectionMatrix( projectionMatrix : Matrix4 )
Sets the given projection matrix.
| projectionMatrix |
The projection matrix to set. |
.setup( builder : NodeBuilder ) : Node.<vec2>
Implements the velocity computation based on the previous and current vertex data.
| builder |
A reference to the current node builder. |
- Overrides: TempNode#setup
- Returns: The motion vector.
.update( frame : NodeFrame )
Updates velocity specific uniforms.
| frame |
A reference to the current node frame. |
- Overrides: TempNode#update
.updateAfter( frame : NodeFrame )
Overwritten to updated velocity specific uniforms.
| frame |
A reference to the current node frame. |
- Overrides: TempNode#updateAfter