class-description NEWS COMMUNITY STORE LABS SIGN UP LOGIN LOGOUT ROKOJORI NEWSLETTER SIGN UP LOGIN LOGOUT NEWS COMMUNITY STORE LABS TOGGLE FULLSCREEN VOLLBILD AN/AUS ObjectRefCountedResource AnimationLibrary
Container for Animation resources.

An animation library stores a set of animations accessible through StringName keys, for use with AnimationPlayer nodes.

animation_added animation_added<>( StringName name=, name:StringName=, ):animation_added

Emitted when an Animation is added, under the key name.

animation_changed animation_changed<>( StringName name=, name:StringName=, ):animation_changed

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.

animation_removed animation_removed<>( StringName name=, name:StringName=, ):animation_removed

Emitted when an Animation stored with the key name is removed.

animation_renamed animation_renamed<>( StringName name=, name:StringName=, StringName to_name=, to_name:StringName=, ):animation_renamed

Emitted when the key for an Animation is changed, from name to to_name.

Error add_animation<>( StringName name=, name:StringName=, Animation animation=, animation:Animation=, ):Error

Adds the animation to the library, accessible by the key name.

Animation get_animation<>( StringName name=, name:StringName=, ):Animation

Returns the Animation with the key name. If the animation does not exist, null is returned and an error is logged.

StringName[] get_animation_list<>():StringName[]

Returns the keys for the Animations stored in the library.

bool has_animation<>( StringName name=, name:StringName=, ):bool

Returns true if the library stores an Animation with name as the key.

void remove_animation<>( StringName name=, name:StringName=, ):void

Removes the Animation with the key name.

void rename_animation<>( StringName name=, name:StringName=, StringName newname=, newname:StringName=, ):void

Changes the key of the Animation associated with the key name to newname.




All social media brands are registrated trademarks and belong to their respective owners.





CONTACT IMPRINT TERMS OF USE PRIVACY © ROKOROJI ® 2021 rokojori.com
CONTACT IMPRINT TERMS OF USE PRIVACY © ROKOROJI ® 2021 rokojori.com
We are using cookies on this site. Read more... Wir benutzen Cookies auf dieser Seite. Mehr lesen...