class AnimatorBase
package away3d.animators
extends NamedAssetBase
implements IAsset
extended by ParticleAnimator, SkeletonAnimator, SpriteSheetAnimator, UVAnimator, VertexAnimator
Available on all platforms
Constructor
new(animationSet:IAnimationSet)
Creates a new AnimatorBase object.
Parameters:
animationSet | The animation data set to be used by the animator object. |
|---|
Variables
updatePosition:Bool = true
Enables translation of the animated mesh from data returned per frame via the positionDelta property of the active animation node. Defaults to true.
See also:
away3d.animators.states.IAnimationState#positionDelta
Methods
phase(value:Float):Void
Sets the animation phase of the current active state's animation clip(s).
Parameters:
value | The phase value to use. 0 represents the beginning of an animation clip, 1 represents the end. |
|---|
stop():Void
Pauses the automatic playback clock of the animator, in case manual updates are required via the
time property or update() method.
See also:
time
update()
update(time:Int):Void
Provides a way to manually update the active state of the animator when automatic updates are disabled.
See also:
stop()
autoUpdate