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
cleanProtected
cleanProtected
errorProtected
logProtected
setUn-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
warnEmits an event when the Component has been destroyed.
Readonly
onEmits an event each time CustomProjection.projMatrix updates.
Configures a custom projection for a Camera .