| Package | away3d.controllers |
| Class | public class ControllerBase |
| Inheritance | ControllerBase Object |
| Subclasses | FirstPersonController, LookAtController |
| Property | Defined By | ||
|---|---|---|---|
| autoUpdate : Boolean
Determines whether the controller applies updates automatically. | ControllerBase | ||
| targetObject : Entity
Target object on which the controller acts. | ControllerBase | ||
| Property | Defined By | ||
|---|---|---|---|
| _autoUpdate : Boolean = true | ControllerBase | ||
| _targetObject : Entity | ControllerBase | ||
| Method | Defined By | ||
|---|---|---|---|
ControllerBase(targetObject:Entity = null)
Base controller class for dynamically adjusting the propeties of a 3D object. | ControllerBase | ||
update():void
Manually applies updates to the target 3D object. | ControllerBase | ||
| Method | Defined By | ||
|---|---|---|---|
notifyUpdate():void | ControllerBase | ||
| _autoUpdate | property |
protected var _autoUpdate:Boolean = true| _targetObject | property |
protected var _targetObject:Entity| autoUpdate | property |
autoUpdate:BooleanDetermines whether the controller applies updates automatically. Defaults to true
public function get autoUpdate():Boolean public function set autoUpdate(value:Boolean):void| targetObject | property |
targetObject:EntityTarget object on which the controller acts. Defaults to null.
public function get targetObject():Entity public function set targetObject(value:Entity):void| ControllerBase | () | Constructor |
public function ControllerBase(targetObject:Entity = null)Base controller class for dynamically adjusting the propeties of a 3D object.
ParameterstargetObject:Entity (default = null) — The 3D object on which to act.
|
| notifyUpdate | () | method |
protected function notifyUpdate():void| update | () | method |
public function update():voidManually applies updates to the target 3D object.