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
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
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 OrthoProjection.
Un-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
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 OrthoProjection.projMatrix updates.
Orthographic projection configuration for a Camera .