Readonly
cameraThe Camera this FrustumProjection belongs to.
True once this Component has been destroyed.
Don't use this Component if this is true
.
Protected
dirtyUnique ID of this Component.
Static
Readonly
typeThe type of this projection.
Gets the position of the FrustumProjection's bottom plane on the View-space Y-axis.
Bottom frustum plane position.
Sets the position of the FrustumProjection's bottom plane on the View-space Y-axis.
New bottom frustum plane position.
Gets the position of the FrustumProjection's far plane on the positive View-space Z-axis.
Default value is 10000.0
.
Far frustum plane position.
Sets the position of the FrustumProjection's far plane on the positive View-space Z-axis.
Default value is 10000.0
.
New far frustum plane position.
Gets the inverse of FrustumProjection.projMatrix.
The inverse orthographic projection projMatrix.
Gets the position of the FrustumProjection's left plane on the View-space X-axis.
Left frustum plane position.
Sets the position of the FrustumProjection's left plane on the View-space X-axis.
New left frustum plane position.
Gets the position of the FrustumProjection's near plane on the positive View-space Z-axis.
Default value is 0.1
.
Near frustum plane position.
Sets the position of the FrustumProjection's near plane on the positive View-space Z-axis.
Default value is 0.1
.
New FrustumProjection near plane position.
Gets the FrustumProjection's projection transform matrix.
Default value is [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1]
.
The FrustumProjection's projection matrix
Gets the position of the FrustumProjection's right plane on the View-space X-axis.
Right frustum plane position.
Sets the position of the FrustumProjection's right plane on the View-space X-axis.
New right frustum plane position.
Gets the position of the FrustumProjection's top plane on the View-space Y-axis.
Top frustum plane position.
Sets the position of the FrustumProjection's top plane on the View-space Y-axis.
New top frustum plane position.
Gets the transpose of FrustumProjection.projMatrix.
The transpose of FrustumProjection.projMatrix.
Protected
cleanGives this component an opportunity to action any defered state updates.
Protected
errorProtected
Logs an error for this component to the JavaScript console.
The console message will have this format: [ERROR] [<component type> =<component id>: <message>
The error message to log
Configures this FrustumProjection.
Protected
logProtected
Logs a message for this component.
The message will have this format: [LOG] [<component type> <component id>: <message>
The message to log
Protected
setFlags this component as having a defered state updates it needs to perform.
Gets the current configuration of this FrustumProjection.
Un-projects the given View-space coordinates, using this FrustumProjection projection.
Inputs 2D View-space coordinates.
Inputs Screen-space Z coordinate.
Outputs 3D Screen/Clip-space coordinates.
Outputs un-projected 3D View-space coordinates.
Outputs un-projected 3D World-space coordinates.
Protected
warnProtected
Logs a warning for this component to the JavaScript console.
The console message will have this format: [WARN] [<component type> =<component id>: <message>
The warning message to log
Emits an event when the Component has been destroyed.
Readonly
onEmits an event each time FrustumProjection.projMatrix updates.
FrustumProjection-based perspective projection configuration for a Camera .