Creates a new AnimatorBase
object.
The animation data set to be used by the animator object.
adapter is used to provide MovieClip to scripts taken from different platforms setter typically managed by factory. getter defaults to AwayJS class
A unique id for the asset, used to identify assets in an associative array
The original name used for this asset in the resource (e.g. file) in which
it was found. This may not be the same as name
, which may
have changed due to of a name conflict.
Enables translation of the animated graphics from data returned per frame via the positionDelta property of the active animation node. Defaults to true.
Returns the internal absolute time of the animator, calculated by the current time and the playback speed.
Returns the current active animation node.
Returns the current active animation node.
Returns the current active animation state.
Returns the animation data set in use by the animator.
Determines whether the animators internal update mechanisms are active. Used in cases
where manual updates are required either via the time
property or update()
method.
Defaults to true.
Determines whether the animators internal update mechanisms are active. Used in cases
where manual updates are required either via the time
property or update()
method.
Defaults to true.
The amount by which passed time should be scaled. Used to slow down or speed up animations. Defaults to 1.
The amount by which passed time should be scaled. Used to slow down or speed up animations. Defaults to 1.
Gets and sets the internal time clock of the animator.
Gets and sets the internal time clock of the animator.
Internal abstract method called when the time delta property of the animator's contents requires updating.
Add an event listener
Used by the graphics object to which the animator is applied, registers the owner for internal use.
for internal use.
Dispatch an event
check if an object has an event listener assigned to it
Sets the animation phase of the current active state's animation clip(s).
The phase value to use. 0 represents the beginning of an animation clip, 1 represents the end.
Remove an event listener
Used by the graphics object from which the animator is removed, unregisters the owner for internal use.
Resumes the automatic playback clock controling the active state of the animator.
Pauses the automatic playback clock of the animator, in case manual updates are required via the
time
property or update()
method.
Provides a way to manually update the active state of the animator when automatic updates are disabled.
Generated using TypeDoc
Provides an abstract base class for animator classes that control animation output from a data set subtype of
AnimationSetBase
.away.animators.AnimationSetBase