Packageaway3d.cameras.lenses
Classpublic class OrthographicOffCenterLens
InheritanceOrthographicOffCenterLens Inheritance LensBase

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
Retrieves the corner points of the lens frustum.
LensBase
 Inheritedmatrix : Matrix3D
The projection matrix that transforms 3D geometry to normalized homogeneous coordinates.
LensBase
  maxX : Number
OrthographicOffCenterLens
  maxY : Number
OrthographicOffCenterLens
  minX : Number
OrthographicOffCenterLens
  minY : Number
OrthographicOffCenterLens
 Inheritednear : Number
The distance to the near plane of the frustum.
LensBase
Protected Properties
 PropertyDefined by
 Inherited_aspectRatio : Number = 1
LensBase
 Inherited_far : Number = 3000
LensBase
 Inherited_frustumCorners : Vector
LensBase
 Inherited_matrix : Matrix3D
LensBase
 Inherited_near : Number = 20
LensBase
Public Methods
 MethodDefined by
  
OrthographicOffCenterLens
(minX:Number, maxX:Number, minY:Number, maxY:Number)
Creates a new OrthogonalLens object.
OrthographicOffCenterLens
 Inherited
unproject(mX:Number, mY:Number, mZ:Number):Vector3D
LensBase
Protected Methods
 MethodDefined by
 Inherited
Invalidates the projection matrix, which will cause it to be updated on the next request.
LensBase
  
updateMatrix():void
Updates the matrix
OrthographicOffCenterLens
Property detail
maxXproperty
maxX:Number  [read-write]Implementation
    public function get maxX():Number
    public function set maxX(value:Number):void
maxYproperty 
maxY:Number  [read-write]Implementation
    public function get maxY():Number
    public function set maxY(value:Number):void
minXproperty 
minX:Number  [read-write]Implementation
    public function get minX():Number
    public function set minX(value:Number):void
minYproperty 
minY:Number  [read-write]Implementation
    public function get minY():Number
    public function set minY(value:Number):void
Constructor detail
OrthographicOffCenterLens()constructor
public function OrthographicOffCenterLens(minX:Number, maxX:Number, minY:Number, maxY:Number)Parameters
minX:Number — The vertical field of view of the projection.
 
maxX:Number
 
minY:Number
 
maxY:Number
Init Parameters
Method detail
updateMatrix()method
protected override function updateMatrix():void

Updates the matrix

Wiki link
Click to go to the wiki page for 'away3d.cameras.lenses.OrthographicOffCenterLens'

Code examples

Comments