Package | away3dlite.cameras |
Class | public class TargetCamera3D |
Inheritance | TargetCamera3D Camera3D Object3D flash.display.Sprite |
Subclasses | HoverCamera3D |
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 | ||
target : Object3D
The 3d object targeted by the camera. | TargetCamera3D | ||
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 | ||
---|---|---|---|
TargetCamera3D(focus:Number = 10, zoom:Number = 100, target:Object3D = null)
Creates a new TargetCamera3D object. | TargetCamera3D | ||
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 |
target | property |
public var target:Object3D
The 3d object targeted by the camera.
TargetCamera3D | () | Constructor |
public function TargetCamera3D(focus:Number = 10, zoom:Number = 100, target:Object3D = null)
Creates a new TargetCamera3D
object.
focus:Number (default = 10 ) — Defines the distance from the focal point of the camera to the viewing plane.
| |
zoom:Number (default = 100 ) — Defines the overall scale value of the view.
| |
target:Object3D (default = null ) — The 3d object targeted by the camera.
|