Packageaway3d.cameras.lenses
Classpublic class OrthographicLens
InheritanceOrthographicLens Inheritance LensBase Inheritance flash.events.EventDispatcher

The PerspectiveLens object provides a projection matrix that projects 3D geometry isometrically. This entails there is no perspective distortion, and lines that are parallel in the scene will remain parallel on the screen.



Public Properties
 PropertyDefined By
 Inheritedfar : Number
The distance to the far plane of the frustum.
LensBase
 InheritedfrustumCorners : Vector.<Number>
Retrieves the corner points of the lens frustum.
LensBase
 Inheritedmatrix : Matrix3D
The projection matrix that transforms 3D geometry to normalized homogeneous coordinates.
LensBase
 Inheritednear : Number
The distance to the near plane of the frustum.
LensBase
  projectionHeight : Number
The vertical field of view of the projection.
OrthographicLens
 InheritedunprojectionMatrix : Matrix3D
[read-only]
LensBase
Protected Properties
 PropertyDefined By
 Inherited_aspectRatio : Number = 1
LensBase
 Inherited_far : Number = 3000
LensBase
 Inherited_frustumCorners : Vector.<Number>
LensBase
 Inherited_matrix : Matrix3D
LensBase
 Inherited_matrixInvalid : Boolean = true
LensBase
 Inherited_near : Number = 20
LensBase
Public Methods
 MethodDefined By
  
OrthographicLens(projectionHeight:Number = 500)
Creates a new OrthogonalLens object.
OrthographicLens
 Inherited
project(point3d:Vector3D):Vector3D
LensBase
 Inherited
unproject(mX:Number, mY:Number, mZ:Number):Vector3D
Calculates the position of the given normalized coordinates relative to the camera.
LensBase
Protected Methods
 MethodDefined By
 Inherited
Invalidates the projection matrix, which will cause it to be updated on the next request.
LensBase
  
[override] Updates the matrix
OrthographicLens
Property Detail
projectionHeightproperty
projectionHeight:Number

The vertical field of view of the projection.


Implementation
    public function get projectionHeight():Number
    public function set projectionHeight(value:Number):void
Constructor Detail
OrthographicLens()Constructor
public function OrthographicLens(projectionHeight:Number = 500)

Creates a new OrthogonalLens object.

Parameters
projectionHeight:Number (default = 500)
Method Detail
updateMatrix()method
override protected function updateMatrix():void

Updates the matrix