Readonly
cameraThe Camera this OrthoProjection 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 OrthoProjection's far plane on the positive View-space Z-axis.
Default value is 10000.0
.
returns New far ortho plane position.
Sets the position of the OrthoProjection's far plane on the positive View-space Z-axis.
Default value is 2000.0
.
New far ortho plane position.
Gets the inverse of OrthoProjection.projMatrix.
The inverse of OrthoProjection.projMatrix.
Gets the position of the OrthoProjection's near plane on the positive View-space Z-axis.
Default value is 0.1
.
returns New OrthoProjection near plane position.
Sets the position of the OrthoProjection's near plane on the positive View-space Z-axis.
Default value is 0.1
.
New OrthoProjection near plane position.
Gets the OrthoProjection's projection transform matrix.
Default value is [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1]
.
The OrthoProjection's projection matrix.
Gets scale factor for this OrthoProjection's extents on X and Y axis.
Clamps to minimum value of ````0.01```.
Default value is 1.0
returns New OrthoProjection scale value.
Sets scale factor for this OrthoProjection's extents on X and Y axis.
Clamps to minimum value of ````0.01```.
Default value is 1.0
New scale value.
Gets the transpose of OrthoProjection.projMatrix.
The transpose of OrthoProjection.projMatrix.
Protected
cleanProtected
errorProtected
logProtected
setUn-projects the given View-space coordinates, using this OrthoProjection 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
warnEmits an event when the Component has been destroyed.
Readonly
onEmits an event each time OrthoProjection.projMatrix updates.
Orthographic projection configuration for a Camera .