Perspective
Extends:
Configures perspective projection mode for the camera. Perspective projection is represented as a viewing frustum, given as six planes, along with a field of view (FOV) angle.
Constructor Summary
Public Constructor | ||
public |
|
Member Summary
Public Members | ||
public set |
Sets the frustum's vertical field of view,} from bottom to top of view, in degrees. Default is 45. |
|
public get |
Gets the frustum's vertical field of view,} from bottom to top of view, in degrees. |
Private Members | ||
private |
|
|
private |
|
|
private |
|
Method Summary
Public Methods | ||
public |
build() |
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 fov(fov: Number) source
Sets the frustum's vertical field of view,} from bottom to top of view, in degrees. Default is 45.
public get fov: Number: * source
Gets the frustum's vertical field of view,} from bottom to top of view, in degrees.