Packageaway3d.cameras.lenses
Classpublic class PerspectiveLens
InheritancePerspectiveLens Inheritance AbstractLens

Protected Properties
 PropertyDefined by
 Inherited_camera : Camera3D
AbstractLens
 Inherited_cameraVarsStore : CameraVarsStore
AbstractLens
 Inheritedclassification : int
AbstractLens
 Inherited_clipBottom : Number
AbstractLens
 Inherited_clipHeight : Number
AbstractLens
 Inherited_clipLeft : Number
AbstractLens
 Inherited_clipping : Clipping
AbstractLens
 Inherited_clipRight : Number
AbstractLens
 Inherited_clipTop : Number
AbstractLens
 Inherited_clipWidth : Number
AbstractLens
 Inherited_far : Number
AbstractLens
 Inherited_focusOverZoom : Number
AbstractLens
 Inherited_frustum : Frustum
AbstractLens
 Inherited_len : Number
AbstractLens
 Inherited_molehillMatrix : Matrix3D
AbstractLens
 Inherited_near : Number
AbstractLens
 Inherited_persp : Number
AbstractLens
 Inherited_plane : Plane3D
AbstractLens
 Inherited_projectionMatrix : Matrix3D
AbstractLens
 Inherited_rawData : Vector
AbstractLens
 Inherited_screenMatrix : Matrix3D
AbstractLens
 Inherited_scz : Number
AbstractLens
 Inherited_sw : Number
AbstractLens
 Inherited_sx : Number
AbstractLens
 Inherited_sy : Number
AbstractLens
 Inherited_sz : Number
AbstractLens
 Inherited_vertex : Vertex
AbstractLens
 Inherited_view : View3D
AbstractLens
 Inheritedview : Matrix3D
AbstractLens
 InheritedviewTransform : Matrix3D
AbstractLens
 Inherited_vx : Number
AbstractLens
 Inherited_vy : Number
AbstractLens
 Inherited_vz : Number
AbstractLens
 Inherited_zoom2 : Number
AbstractLens
Public Methods
 MethodDefined by
  
getPerspective(screenZ:Number):Number
Returns the perspective scaling value for a distance z from the camera
PerspectiveLens
Protected Constants
 ConstantDefined by
 InheritedtoDEGREES : Number = 57.29577951308232
AbstractLens
 InheritedtoRADIANS : Number = 0.017453292519943295
AbstractLens
Method detail
getPerspective()method
public override 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

Returns
Number — The perspetive scaling value.
Wiki link
Click to go to the wiki page for 'away3d.cameras.lenses.PerspectiveLens'

Code examples

Comments