Static
Readonly
iStatic
Readonly
subclassesRetrieves the type of this mutable subclass as the name of the runtime class
The type of the mutable
See EventTarget.addEventListener for reference. Works with EventListenerUnified and EventUnified
Optional
_options: boolean | AddEventListenerOptionsCalculates and returns the direction the animation should currently be playing in.
the time at which to calculate the direction
1 if forward, 0 if stop, -1 if backwards
Converts the AnimationSprite into an Animation
Recreates this instance of Serializable with the information from the given Serialization.
See EventTarget.dispatchEvent for reference. Works with with EventUnified
Returns a list of the names of the events the ComponentAnimator needs to fire between _min and _max input values.
The direction the animation is supposed to run in. >0 == forward, 0 == stop, <0 == backwards
a list of strings with the names of the custom events to fire.
Returns the time to use for animation sampling when applying a playmode
Collect applicable attributes of the instance and copies of their values in a Mutator-object. By default, a mutator cannot be extended, since extensions are not available in the object the mutator belongs to. A mutator may be reduced by the descendants of Mutable to contain only the properties needed.
Returns an associative array with the same attributes as the given mutator, but with the corresponding types as string-values Does not recurse into objects!
Collect the attributes of the instance and their values applicable for animation. Basic functionality is identical to getMutator, returned mutator should then be reduced by the subclassed instance
Collect the attributes of the instance and their values applicable for the user interface. Basic functionality is identical to getMutator, returned mutator should then be reduced by the subclassed instance
Generates and returns a Mutator with the information to apply to the Node to animate in the state the animation is in at the given time, direction and quantization
Updates the attribute values of the instance according to the state of the mutator. The mutation may be restricted to a subset of the mutator and the event dispatching suppressed. Uses mutateBase, but can be overwritten in subclasses
Optional
_selection: string[]Optional
_dispatchMutate: booleanSee EventTarget.removeEventListener for reference. Works with EventListenerUnified and EventUnified
Optional
_options: boolean | AddEventListenerOptionsReturns a Serialization of this object.
Sets the texture to be used as the spritesheet
Updates the values of the given mutator according to the current state of the instance
Static
get
Describes and controls and animation by yielding mutators according to the stored AnimationStructure and AnimationSequences Applied to a Node directly via script or ComponentAnimator.
Author
Lukas Scheuerle, HFU, 21019 | Jirka Dell'Oro-Friedl, HFU, 2021-2023