Package | away3d.cameras.lenses |
Class | public class PerspectiveLens |
Inheritance | PerspectiveLens LensBase |
Property | Defined by | ||
---|---|---|---|
far : Number
The distance to the far plane of the frustum.
| LensBase | ||
fieldOfView : Number
The vertical field of view of the projection.
| PerspectiveLens | ||
frustumCorners : Vector
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 |
Method | Defined by | ||
---|---|---|---|
PerspectiveLens
(fieldOfView:Number = 60)
Creates a new PerspectiveLens object.
| PerspectiveLens | ||
unproject(mX:Number, mY:Number, mZ:Number):Vector3D
| LensBase |
Method | Defined by | ||
---|---|---|---|
invalidateMatrix():void
Invalidates the projection matrix, which will cause it to be updated on the next request.
| LensBase | ||
updateMatrix():void
Updates the matrix
| PerspectiveLens |
fieldOfView | property |
fieldOfView:Number
[read-write]The vertical field of view of the projection.
Implementation public function get fieldOfView():Number
public function set fieldOfView(value:Number):void
PerspectiveLens | () | constructor |
public function PerspectiveLens(fieldOfView:Number = 60)
Parameters
fieldOfView:Number (default = 60 ) — The vertical field of view of the projection.
|
updateMatrix | () | method |
protected override function updateMatrix():void
Updates the matrix