Packageorg.flintparticles.threeD.renderers.controllers.mxml
Classpublic class KeyboardControllerMxml
InheritanceKeyboardControllerMxml Inheritance KeyboardControllerBase
Implementsmx.core.IMXMLObject
SubclassesFirstPersonCamera, OrbitCamera

Sets keyboard input to make a renderer's camera orbit around a point in response to keyboard input.

After assigning a camera to an instance of this class, the camera responds to the following keyboard input



Public Properties
 PropertyDefined by
 InheritedautoStart : Boolean = true
KeyboardControllerBase
 Inheritedcamera : Camera
The camera to control with this controller.
KeyboardControllerBase
 InheritedfixedFrameTime : Number
Indicates a fixed time (in seconds) to use for every frame.
KeyboardControllerBase
 InheritedmaximumFrameTime : Number
The maximum duration for a single update frame, in seconds.
KeyboardControllerBase
 Inheritedstage : DisplayObject
The stage - used for listening to keyboard events
KeyboardControllerBase
 InheriteduseInternalTick : Boolean
Indicates whether the controller should manage its own internal update tick.
KeyboardControllerBase
Protected Properties
 PropertyDefined by
 InheritedaDown : Boolean = false
KeyboardControllerBase
 Inherited_camera : Camera
KeyboardControllerBase
 InheriteddDown : Boolean = false
KeyboardControllerBase
 InheriteddownDown : Boolean = false
KeyboardControllerBase
 Inherited_fixedFrameTime : Number = 0
KeyboardControllerBase
 InheritedleftDown : Boolean = false
KeyboardControllerBase
 Inherited_maximumFrameTime : Number = 0.5
KeyboardControllerBase
 InheritedpgDownDown : Boolean = false
KeyboardControllerBase
 InheritedpgUpDown : Boolean = false
KeyboardControllerBase
 InheritedrightDown : Boolean = false
KeyboardControllerBase
 Inherited_running : Boolean = false
KeyboardControllerBase
 InheritedsDown : Boolean = false
KeyboardControllerBase
 Inherited_stage : DisplayObject
KeyboardControllerBase
 InheritedupDown : Boolean = false
KeyboardControllerBase
 Inherited_useInternalTick : Boolean = true
KeyboardControllerBase
 InheritedwDown : Boolean = false
KeyboardControllerBase
Public Methods
 MethodDefined by
  
initialized(document:Object, id:String):void
KeyboardControllerMxml
 Inherited
start():void
Starts the controller.
KeyboardControllerBase
 Inherited
stop():void
Stops the controller.
KeyboardControllerBase
 Inherited
update(time:Number):void
KeyboardControllerBase
Protected Methods
 MethodDefined by
 Inherited
updateCamera(time:Number):void
KeyboardControllerBase
Method detail
initialized()method
public function initialized(document:Object, id:String):voidParameters
document:Object
 
id:String