| Package | away3d.cameras.lenses |
| Class | public class OrthographicLens |
| Inheritance | OrthographicLens LensBase flash.events.EventDispatcher |
| Property | Defined By | ||
|---|---|---|---|
![]() | far : Number
The distance to the far plane of the frustum. | LensBase | |
![]() | frustumCorners : Vector.<Number>
Retrieves the corner points of the lens frustum. | LensBase | |
![]() | matrix : Matrix3D
The projection matrix that transforms 3D geometry to normalized homogeneous coordinates. | LensBase | |
![]() | near : Number
The distance to the near plane of the frustum. | LensBase | |
| projectionHeight : Number
The vertical field of view of the projection. | OrthographicLens | ||
![]() | unprojectionMatrix : Matrix3D [read-only] | LensBase | |
| Method | Defined By | ||
|---|---|---|---|
OrthographicLens(projectionHeight:Number = 500)
Creates a new OrthogonalLens object. | OrthographicLens | ||
![]() | project(point3d:Vector3D):Vector3D | LensBase | |
![]() | unproject(mX:Number, mY:Number, mZ:Number):Vector3D
Calculates the position of the given normalized coordinates relative to the camera. | LensBase | |
| Method | Defined By | ||
|---|---|---|---|
![]() | invalidateMatrix():void
Invalidates the projection matrix, which will cause it to be updated on the next request. | LensBase | |
updateMatrix():void [override]
Updates the matrix
| OrthographicLens | ||
| projectionHeight | property |
projectionHeight:NumberThe vertical field of view of the projection.
public function get projectionHeight():Number public function set projectionHeight(value:Number):void| OrthographicLens | () | Constructor |
public function OrthographicLens(projectionHeight:Number = 500)Creates a new OrthogonalLens object.
ParametersprojectionHeight:Number (default = 500) |
| updateMatrix | () | method |
override protected function updateMatrix():voidUpdates the matrix