Retrieves 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 | AddEventListenerOptionsAdds a new key to the sequence.
the key to add
Recreates this instance of Serializable with the information from the given Serialization.
See EventTarget.dispatchEvent for reference. Works with with EventUnified
Find a key in the sequence exactly matching the given time.
Gets a key from the sequence at the desired index.
the zero-based index at which to get the key
the AnimationKey at the index if it exists, null otherwise.
Returns this sequence's keys. This is not a copy, but the actual array used internally. Handle with care! Used by Editor.
Retrieves the specified attribute types from the metadata of this instance's class.
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! This will return the decorated meta-type instead of the runtime-type of the object, if available.
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
Modifys a given key in the sequence.
the key to add
Optional
_time: numberOptional
_value: numberUpdates 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
See EventTarget.removeEventListener for reference. Works with EventListenerUnified and EventUnified
Optional
_options: boolean | AddEventListenerOptionsRemoves a given key from the sequence.
the key to remove
Removes the Animation Key at the given index from the keys.
the zero-based index at which to remove the key
the removed AnimationKey if successful, null otherwise.
Returns a Serialization of this object.
Updates the values of the given mutator according to the current state of the instance
Static
get
A sequence of AnimationKeys that is mapped to an attribute of a Node or its Components inside the Animation. Provides functions to modify said keys
Authors
Lukas Scheuerle, HFU, 2019 | Jonas Plotzky, HFU, 2022