Package | away3d.animators |
Class | public class BonesAnimator |
Inheritance | BonesAnimator Animator flash.events.EventDispatcher |
Method | Defined by | ||
---|---|---|---|
Creates a new
BonesAnimator
| BonesAnimator | ||
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 | ||
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
| BonesAnimator | ||
updateTarget():void
| BonesAnimator |
BonesAnimator | () | constructor |
public function BonesAnimator(target:Object3D = null, init:Object = null)
Parameters
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.
Parameterschannel:Channel |
clone | () | method |
public override function clone(animator:Animator = null):Animator
Duplicates the animators properties to another Animator
object
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 |
protected override function updateProgress(val:Number):void
Parameters
val:Number |
updateTarget | () | method |
protected override function updateTarget():void