Packageaway3d.controllers
Classpublic class ControllerBase
InheritanceControllerBase Inheritance Object
Subclasses FirstPersonController, LookAtController



Public Properties
 PropertyDefined By
  autoUpdate : Boolean
Determines whether the controller applies updates automatically.
ControllerBase
  targetObject : Entity
Target object on which the controller acts.
ControllerBase
Protected Properties
 PropertyDefined By
  _autoUpdate : Boolean = true
ControllerBase
  _targetObject : Entity
ControllerBase
Public Methods
 MethodDefined 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
Protected Methods
 MethodDefined By
  
ControllerBase
Property Detail
_autoUpdateproperty
protected var _autoUpdate:Boolean = true

_targetObjectproperty 
protected var _targetObject:Entity

autoUpdateproperty 
autoUpdate:Boolean

Determines whether the controller applies updates automatically. Defaults to true


Implementation
    public function get autoUpdate():Boolean
    public function set autoUpdate(value:Boolean):void
targetObjectproperty 
targetObject:Entity

Target object on which the controller acts. Defaults to null.


Implementation
    public function get targetObject():Entity
    public function set targetObject(value:Entity):void
Constructor Detail
ControllerBase()Constructor
public function ControllerBase(targetObject:Entity = null)

Base controller class for dynamically adjusting the propeties of a 3D object.

Parameters
targetObject:Entity (default = null) — The 3D object on which to act.
Method Detail
notifyUpdate()method
protected function notifyUpdate():void

update()method 
public function update():void

Manually applies updates to the target 3D object.