summaryrefslogtreecommitdiff
path: root/doc/classes
diff options
context:
space:
mode:
authorSilc Renew <tokage.it.lab@gmail.com>2022-12-19 09:10:15 +0900
committerSilc Renew <tokage.it.lab@gmail.com>2022-12-21 01:20:22 +0900
commit4cd144d5fb45827e27231eb158ee512d0cd698ac (patch)
tree44db4e26418aeab95cae579b4bc8504938e4fb80 /doc/classes
parent2a04b18d37de6c6e621db5a9dfd1cd0da5ccb015 (diff)
Add animation_started/finished signals to AnimationTree
Diffstat (limited to 'doc/classes')
-rw-r--r--doc/classes/AnimationTree.xml14
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/classes/AnimationTree.xml b/doc/classes/AnimationTree.xml
index 21f4b37741..a17a727d7e 100644
--- a/doc/classes/AnimationTree.xml
+++ b/doc/classes/AnimationTree.xml
@@ -111,11 +111,25 @@
</member>
</members>
<signals>
+ <signal name="animation_finished">
+ <param index="0" name="anim_name" type="StringName" />
+ <description>
+ Notifies when an animation finished playing.
+ [b]Note:[/b] This signal is not emitted if an animation is looping or aborted. Also be aware of the possibility of unseen playback by sync and xfade.
+ </description>
+ </signal>
<signal name="animation_player_changed">
<description>
Emitted when the [member anim_player] is changed.
</description>
</signal>
+ <signal name="animation_started">
+ <param index="0" name="anim_name" type="StringName" />
+ <description>
+ Notifies when an animation starts playing.
+ [b]Note:[/b] This signal is not emitted if an animation is looping or playbacked from the middle. Also be aware of the possibility of unseen playback by sync and xfade.
+ </description>
+ </signal>
</signals>
<constants>
<constant name="ANIMATION_PROCESS_PHYSICS" value="0" enum="AnimationProcessCallback">