An abstract base class for all lens classes. Lens objects provides a projection matrix that transforms 3D geometry to normalized homogeneous coordinates.
protected var _aspectRatio:Number = 1
aspectRatio:Number
[read-write]Implementation
arcane function get aspectRatio():Number
arcane function set aspectRatio(value:Number):void
protected var _far:Number = 3000
far:Number
[read-write]
The distance to the far plane of the frustum. Anything beyond the far plane will not be rendered.
Implementation
public function get far():Number
public function set far(value:Number):void
protected var _frustumCorners:Vector
frustumCorners:Vector
[read-only]
Retrieves the corner points of the lens frustum.
Implementation
public function get frustumCorners():Vector
protected var _matrix:Matrix3D
matrix:Matrix3D
[read-only]
The projection matrix that transforms 3D geometry to normalized homogeneous coordinates.
Implementation
public function get matrix():Matrix3D
protected var _near:Number = 20
near:Number
[read-write]
The distance to the near plane of the frustum. Anything behind near plane will not be rendered.
Implementation
public function get near():Number
public function set near(value:Number):void
arcane var onMatrixUpdate:Function
public function LensBase()
Init Parameters
protected function invalidateMatrix():void
Invalidates the projection matrix, which will cause it to be updated on the next request.
public function unproject(mX:Number, mY:Number, mZ:Number):Vector3D
Parameters
| mX:Number |
|
| mY:Number |
|
| mZ:Number |
Returns
protected function updateMatrix():void
Updates the matrix