An animation library stores a set of animations accessible through StringName keys, for use with AnimationPlayer nodes.
Emitted when an Animation is added, under the key name
.
Emitted when there's a change in one of the animations, e.g. tracks are added, moved or have changed paths. name
is the key of the animation that was changed.
See also Resource.changed, which this acts as a relay for.
Emitted when an Animation stored with the key name
is removed.
Emitted when the key for an Animation is changed, from name
to to_name
.
Adds the animation
to the library, accessible by the key name
.
Returns the Animation with the key name
. If the animation does not exist, null
is returned and an error is logged.
Returns the keys for the Animations stored in the library.
Returns true
if the library stores an Animation with name
as the key.
Removes the Animation with the key name
.
Changes the key of the Animation associated with the key name
to newname
.