Readonly
cameraThe Camera this CustomProjection 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 inverse of CustomProjection.projMatrix.
The inverse of CustomProjection.projMatrix.
Gets the CustomProjection's projection transform matrix.
Default value is [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1]
.
New value for the CustomProjection's matrix.
Sets the CustomProjection's projection transform matrix.
Default value is [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1]
.
New value for the CustomProjection's matrix.
Gets the transpose of CustomProjection.projMatrix.
The transpose of CustomProjection.projMatrix.
Protected
cleanForces this component to action any deferred state updates.
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 CustomProjection.
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 CustomProjection.
Un-projects the given View-space coordinates, using this CustomProjection.
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 CustomProjection.projMatrix updates.
Configures a custom projection for a Camera .