Package | away3dlite.cameras |
Class | public class Camera3D |
Inheritance | Camera3D Object3D flash.display.Sprite |
Subclasses | TargetCamera3D |
See also
Property | Defined By | ||
---|---|---|---|
animationLibrary : AnimationLibrary
Used in the loaders to store all parsed animation data contained in the model. | Object3D | ||
focus : Number
Defines the distance from the focal point of the camera to the viewing plane. | Camera3D | ||
geometryLibrary : GeometryLibrary
Used in loaders to store all parsed geometry data contained in the model. | Object3D | ||
invSceneMatrix3D : Matrix3D [read-only]
Returns the 3d matrix representing the camera inverse scene transform for the view. | Camera3D | ||
layer : Sprite
An optional layer sprite used to draw into inseatd of the default view. | Object3D | ||
materialLibrary : MaterialLibrary
Used in loaders to store all parsed materials contained in the model. | Object3D | ||
position : Vector3D [read-only]
Returns a 3d vector representing the local position of the 3d object. | Object3D | ||
projectionMatrix3D : Matrix3D [read-only]
Returns the 3d matrix representing the camera projection for the view. | Camera3D | ||
scene : Scene3D [read-only]
Returns the scene to which the 3d object belongs
| Object3D | ||
sceneMatrix3D : Matrix3D [read-only]
Returns a 3d matrix representing the absolute transformation of the 3d object in the scene. | Object3D | ||
screenMatrix3D : Matrix3D [read-only]
Returns the 3d matrix used in resolving screen space for the render loop. | Camera3D | ||
screenZ : Number [read-only]
Returns the z-sorting position of the 3d object. | Object3D | ||
type : String
Returns the type of 3d object. | Object3D | ||
url : String
Returns the source url of the 3d object, or the name of the family of generative geometry objects if not loaded from an external source. | Object3D | ||
viewMatrix3D : Matrix3D [read-only]
Returns a 3d matrix representing the absolute transformation of the 3d object in the view. | Object3D | ||
zoom : Number
Defines the overall scale value of the view. | Camera3D |
Method | Defined By | ||
---|---|---|---|
Camera3D(zoom:Number = 10, focus:Number = 100)
Creates a new Camera3D object. | Camera3D | ||
Duplicates the 3d object's properties to another Object3D object
| Object3D | ||
lookAt(target:Vector3D, upAxis:Vector3D = null):void
Rotates the 3d object around to face a point defined relative to the local coordinates of the parent ObjectContainer3D. | Object3D |
Constant | Defined By | ||
---|---|---|---|
toDEGREES : Number = 57.29577951308232 | Camera3D | ||
toRADIANS : Number = 0.017453292519943295 | Camera3D |
focus | property |
focus:Number
Defines the distance from the focal point of the camera to the viewing plane.
public function get focus():Number
public function set focus(value:Number):void
invSceneMatrix3D | property |
invSceneMatrix3D:Matrix3D
[read-only] Returns the 3d matrix representing the camera inverse scene transform for the view.
public function get invSceneMatrix3D():Matrix3D
projectionMatrix3D | property |
projectionMatrix3D:Matrix3D
[read-only] Returns the 3d matrix representing the camera projection for the view.
public function get projectionMatrix3D():Matrix3D
screenMatrix3D | property |
screenMatrix3D:Matrix3D
[read-only] Returns the 3d matrix used in resolving screen space for the render loop.
public function get screenMatrix3D():Matrix3D
See also
zoom | property |
zoom:Number
Defines the overall scale value of the view.
public function get zoom():Number
public function set zoom(value:Number):void
Camera3D | () | Constructor |
public function Camera3D(zoom:Number = 10, focus:Number = 100)
Creates a new Camera3D
object.
zoom:Number (default = 10 ) — Defines the distance from the focal point of the camera to the viewing plane.
| |
focus:Number (default = 100 ) — Defines the overall scale value of the view.
|
toDEGREES | Constant |
protected const toDEGREES:Number = 57.29577951308232
toRADIANS | Constant |
protected const toRADIANS:Number = 0.017453292519943295