Package | away3d.cameras.lenses |
Class | public class AbstractLens |
Inheritance | AbstractLens Object |
Subclasses | OrthogonalLens, PerspectiveLens, SphericalLens, ZoomFocusLens |
Camera3D
object's position and properties
Property | Defined By | ||
---|---|---|---|
_camera : Camera3D | AbstractLens | ||
_cameraVarsStore : CameraVarsStore | AbstractLens | ||
classification : int | AbstractLens | ||
_clipBottom : Number | AbstractLens | ||
_clipHeight : Number | AbstractLens | ||
_clipLeft : Number | AbstractLens | ||
_clipping : Clipping | AbstractLens | ||
_clipRight : Number | AbstractLens | ||
_clipTop : Number | AbstractLens | ||
_clipWidth : Number | AbstractLens | ||
_far : Number | AbstractLens | ||
_focusOverZoom : Number | AbstractLens | ||
_frustum : Frustum | AbstractLens | ||
_len : Number | AbstractLens | ||
_near : Number | AbstractLens | ||
_persp : Number | AbstractLens | ||
_plane : Plane3D | AbstractLens | ||
_projectionMatrix : Matrix3D | AbstractLens | ||
_rawData : Vector.<Number> | AbstractLens | ||
_screenMatrix : Matrix3D | AbstractLens | ||
_scz : Number | AbstractLens | ||
_sw : Number | AbstractLens | ||
_sx : Number | AbstractLens | ||
_sy : Number | AbstractLens | ||
_sz : Number | AbstractLens | ||
_vertex : Vertex | AbstractLens | ||
_view : View3D | AbstractLens | ||
view : Matrix3D | AbstractLens | ||
viewTransform : Matrix3D | AbstractLens | ||
_vx : Number | AbstractLens | ||
_vy : Number | AbstractLens | ||
_vz : Number | AbstractLens | ||
_zoom2 : Number | AbstractLens |
Method | Defined By | ||
---|---|---|---|
getPerspective(screenZ:Number):Number
Returns the perspective scaling value for a distance z from the camera
| AbstractLens |
Constant | Defined By | ||
---|---|---|---|
toDEGREES : Number = 57.29577951308232 | AbstractLens | ||
toRADIANS : Number = 0.017453292519943295 | AbstractLens |
_camera | property |
protected var _camera:Camera3D
_cameraVarsStore | property |
protected var _cameraVarsStore:CameraVarsStore
_clipBottom | property |
protected var _clipBottom:Number
_clipHeight | property |
protected var _clipHeight:Number
_clipLeft | property |
protected var _clipLeft:Number
_clipping | property |
protected var _clipping:Clipping
_clipRight | property |
protected var _clipRight:Number
_clipTop | property |
protected var _clipTop:Number
_clipWidth | property |
protected var _clipWidth:Number
_far | property |
protected var _far:Number
_focusOverZoom | property |
protected var _focusOverZoom:Number
_frustum | property |
protected var _frustum:Frustum
_len | property |
protected var _len:Number
_near | property |
protected var _near:Number
_persp | property |
protected var _persp:Number
_plane | property |
protected var _plane:Plane3D
_projectionMatrix | property |
protected var _projectionMatrix:Matrix3D
_rawData | property |
protected var _rawData:Vector.<Number>
_screenMatrix | property |
protected var _screenMatrix:Matrix3D
_scz | property |
protected var _scz:Number
_sw | property |
protected var _sw:Number
_sx | property |
protected var _sx:Number
_sy | property |
protected var _sy:Number
_sz | property |
protected var _sz:Number
_vertex | property |
protected var _vertex:Vertex
_view | property |
protected var _view:View3D
_vx | property |
protected var _vx:Number
_vy | property |
protected var _vy:Number
_vz | property |
protected var _vz:Number
_zoom2 | property |
protected var _zoom2:Number
classification | property |
protected var classification:int
view | property |
protected var view:Matrix3D
viewTransform | property |
protected var viewTransform:Matrix3D
getPerspective | () | method |
public function getPerspective(screenZ:Number):Number
Returns the perspective scaling value for a distance z from the camera
Parameters
screenZ:Number — The screenZ of the point
|
Number — The perspetive scaling value.
|
toDEGREES | Constant |
protected const toDEGREES:Number = 57.29577951308232
toRADIANS | Constant |
protected const toRADIANS:Number = 0.017453292519943295