Packageaway3d.cameras.lenses
Classpublic class FreeMatrixLens
InheritanceFreeMatrixLens Inheritance LensBase Inheritance flash.events.EventDispatcher

FreeMatrixLens provides a projection lens that exposes a full projection matrix, rather than provide one through more user-friendly settings. Whenever the matrix is updated, it needs to be reset in order to trigger an update.



Public Properties
 PropertyDefined By
  far : Number
[override]
FreeMatrixLens
 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
  near : Number
[override]
FreeMatrixLens
 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
  
Creates a new FreeMatrixLens object.
FreeMatrixLens
  
[override]
FreeMatrixLens
 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]
FreeMatrixLens
Property Detail
aspectRatioproperty
aspectRatio:Number[override]


Implementation
    arcane function get aspectRatio():Number
    arcane function set aspectRatio(value:Number):void
farproperty 
far:Number[override]


Implementation
    public function get far():Number
    public function set far(value:Number):void
nearproperty 
near:Number[override]


Implementation
    public function get near():Number
    public function set near(value:Number):void
Constructor Detail
FreeMatrixLens()Constructor
public function FreeMatrixLens()

Creates a new FreeMatrixLens object.

Method Detail
clone()method
override public function clone():LensBase

Returns
LensBase
updateMatrix()method 
override protected function updateMatrix():void