Orthographic
Extends:
Configures orthographic projection mode for the camera. In this projection mode, an object's size in the rendered image stays constant regardless of its distance} from the camera. Orthographic projection is represented as a viewing frustum, given as six planes.
Constructor Summary
| Public Constructor | ||
| public |
|
|
Member Summary
| Public Members | ||
| public set |
Sets the position of bottom plane on the negative View-space Y-axis. |
|
| public get |
Gets the position of bottom plane on the negative View-space Y-axis. |
|
| public set |
Sets the position of the left plane on the negative View-space X-axis. |
|
| public get |
Gets the position of the left plane on the negative View-space X-axis. |
|
| public set |
Sets the position of the right plane on the positive View-space X-axis. |
|
| public get |
Gets the position of the right plane on the positive View-space X-axis. |
|
| public set |
Sets the position of the top plane on the positive View-space Y-axis. |
|
| public get |
Gets the position of the top plane on the positive View-space Y-axis. |
|
| public |
|
|
| Private Members | ||
| private |
_bottom: * |
|
| private |
|
|
| private |
_left: * |
|
| private |
|
|
| private |
_right: * |
|
| private |
_top: * |
|
Method Summary
| Public Methods | ||
| public |
build() |
|
| public |
setModelBounds(modelBounds: *) |
|
| public |
zoom(delta: *) |
|
Inherited Summary
| From class Projection | ||
| public get |
Gets the position of the far clipping plane on the positive View-space Z-axis. |
|
| public set |
Sets the position of the far plane on the positive View-space Z-axis. |
|
| public get |
Gets the position of the near plane on the positive View-space Z-axis. |
|
| public set |
Sets the position of the near plane on the positive View-space Z-axis. |
|
| public get |
Gets the current projection projection transform matrix. |
|
| public get |
|
|
| public |
modelBounds: * |
|
| public |
viewer: * |
|
| private |
|
|
| private |
_far: * |
|
| private |
_near: * |
|
| private |
_projMatrix: * |
|
| private |
|
|
| public |
build() |
|
| public |
setModelBounds(modelBounds: *) |
|
| private |
|
|
Public Constructors
Public Members
public set bottom(bottom: Number) source
Sets the position of bottom plane on the negative View-space Y-axis.
public get bottom: Number: * source
Gets the position of bottom plane on the negative View-space Y-axis.
public set left(left: Number) source
Sets the position of the left plane on the negative View-space X-axis.
public get left: Number: * source
Gets the position of the left plane on the negative View-space X-axis.
public set right(right: Number) source
Sets the position of the right plane on the positive View-space X-axis.
public get right: Number: * source
Gets the position of the right plane on the positive View-space X-axis.
public set top(top: Number) source
Sets the position of the top plane on the positive View-space Y-axis.
public get top: Number: * source
Gets the position of the top plane on the positive View-space Y-axis.
Private Members
private _bottom: * source
private _left: * source
private _right: * source
private _top: * source
Public Methods
public setModelBounds(modelBounds: *) source
Override:
Projection#setModelBoundsParams:
| Name | Type | Attribute | Description |
| modelBounds | * |
public zoom(delta: *) source
Params:
| Name | Type | Attribute | Description |
| delta | * |
