Package | away3d.controllers |
Class | public class LookAtController |
Inheritance | LookAtController ControllerBase Object |
Subclasses | HoverController, SpringController |
See also
Property | Defined By | ||
---|---|---|---|
autoUpdate : Boolean
Determines whether the controller applies updates automatically. | ControllerBase | ||
lookAtObject : ObjectContainer3D
The 3d object that the target looks at. | LookAtController | ||
lookAtPosition : Vector3D
The Vector3D object that the target looks at. | LookAtController | ||
targetObject : Entity
Target object on which the controller acts. | ControllerBase |
Property | Defined By | ||
---|---|---|---|
_autoUpdate : Boolean = true | ControllerBase | ||
_lookAtObject : ObjectContainer3D | LookAtController | ||
_lookAtPosition : Vector3D | LookAtController | ||
_origin : Vector3D | LookAtController | ||
_targetObject : Entity | ControllerBase |
Method | Defined By | ||
---|---|---|---|
Creates a new LookAtController object. | LookAtController | ||
update():void [override]
Manually applies updates to the target 3D object. | LookAtController |
_lookAtObject | property |
protected var _lookAtObject:ObjectContainer3D
_lookAtPosition | property |
protected var _lookAtPosition:Vector3D
_origin | property |
protected var _origin:Vector3D
lookAtObject | property |
lookAtObject:ObjectContainer3D
The 3d object that the target looks at.
public function get lookAtObject():ObjectContainer3D
public function set lookAtObject(value:ObjectContainer3D):void
lookAtPosition | property |
lookAtPosition:Vector3D
The Vector3D object that the target looks at.
public function get lookAtPosition():Vector3D
public function set lookAtPosition(value:Vector3D):void
LookAtController | () | Constructor |
public function LookAtController(targetObject:Entity = null, lookAtObject:ObjectContainer3D = null)
Creates a new LookAtController
object.
targetObject:Entity (default = null )
| |
lookAtObject:ObjectContainer3D (default = null )
|
update | () | method |
override public function update():void
Manually applies updates to the target 3D object.