From 1ca456010701ae3ab7d7bcd205cb4e3b0221eedc Mon Sep 17 00:00:00 2001 From: Jonathan Nicholl Date: Wed, 13 Jul 2022 14:16:38 -0400 Subject: Add classref documentation for AnimationLibrary --- doc/classes/AnimationLibrary.xml | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'doc/classes') diff --git a/doc/classes/AnimationLibrary.xml b/doc/classes/AnimationLibrary.xml index 015d306b41..fbbf9a3be4 100644 --- a/doc/classes/AnimationLibrary.xml +++ b/doc/classes/AnimationLibrary.xml @@ -1,10 +1,13 @@ + Container for [Animation] resources. + An animation library stores a set of animations accessible through [StringName] keys, for use with [AnimationPlayer] nodes. + $DOCS_URL/tutorials/animation/index.html @@ -12,29 +15,34 @@ + Adds the [param animation] to the library, accesible by the key [param name]. + Returns the [Animation] with the key [param name], or [code]null[/code] if none is found. + Returns the keys for the [Animation]s stored in the library. + Returns [code]true[/code] if the library stores an [Animation] with [param name] as the key. + Removes the [Animation] with the key [param name]. @@ -42,6 +50,7 @@ + Changes the key of the [Animation] associated with the key [param name] to [param newname]. @@ -53,17 +62,20 @@ + Emitted when an [Animation] is added, under the key [param name]. + Emitted when an [Animation] stored with the key [param name] is removed. + Emitted when the key for an [Animation] is changed, from [param name] to [param to_name]. -- cgit v1.2.3