Package | away3d.animators |
Class | public class BonesAnimator |
Inheritance | BonesAnimator Animator flash.events.EventDispatcher |
Method | Defined By | ||
---|---|---|---|
BonesAnimator(target:Object3D = null, init:Object = null)
Creates a new BonesAnimator
| BonesAnimator | ||
addChannel(channel:Channel):void
Adds an animation channel to the animation timeline. | BonesAnimator | ||
addOnCycle(listener:Function):void
Default method for adding a cycle event listener. | Animator | ||
addOnEnterKeyFrame(listener:Function):void
Default method for adding an enterKeyFrame event listener
| Animator | ||
[override]
Duplicates the animators properties to another Animator object
| BonesAnimator | ||
gotoAndPlay(frame:uint):void | Animator | ||
gotoAndStop(frame:uint):void | Animator | ||
play():void | Animator | ||
removeOnCycle(listener:Function):void
Default method for removing a cycle event listener
| Animator | ||
removeOnEnterKeyFrame(listener:Function):void
Default method for removing a enterKeyFrame event listener
| Animator | ||
stop():void | Animator | ||
update(time:Number):void
Updates the position of the playhead to the given time in seconds. | Animator |
Method | Defined By | ||
---|---|---|---|
getDefaultFps():Number | Animator | ||
updateProgress(val:Number):void [override] | BonesAnimator | ||
updateTarget():void [override] | BonesAnimator |
BonesAnimator | () | Constructor |
public function BonesAnimator(target:Object3D = null, init:Object = null)
Creates a new BonesAnimator
target:Object3D (default = null ) — [optional] Defines the 3d object to which the animation is applied.
| |
init:Object (default = null ) — [optional] An initialisation object for specifying default instance properties.
|
addChannel | () | method |
public function addChannel(channel:Channel):void
Adds an animation channel to the animation timeline.
Parameters
channel:Channel |
clone | () | method |
override public function clone(animator:Animator = null):Animator
Duplicates the animators properties to another Animator
object
Parameters
animator:Animator (default = null ) — [optional] The new animator instance into which all properties are copied
|
Animator — The new animator instance with duplicated properties applied
|
updateProgress | () | method |
override protected function updateProgress(val:Number):void
Parameters
val:Number |
updateTarget | () | method |
override protected function updateTarget():void