summaryrefslogtreecommitdiff
path: root/doc/classes
diff options
context:
space:
mode:
authorSilc Renew <tokage.it.lab@gmail.com>2022-11-29 18:51:45 +0900
committerSilc Renew <tokage.it.lab@gmail.com>2022-12-01 22:07:47 +0900
commit1fc38336171b775c9cd9a6a33277829fd920d7a2 (patch)
treeaf3c1edc527fa7ad8ef2bf8228041e1722eb166d /doc/classes
parent0bb1e89fb7046209f64d46ccedc6b42645c96573 (diff)
Refactor process of animation to retrive keys more exactly
Diffstat (limited to 'doc/classes')
-rw-r--r--doc/classes/Animation.xml9
-rw-r--r--doc/classes/AnimationNode.xml3
2 files changed, 11 insertions, 1 deletions
diff --git a/doc/classes/Animation.xml b/doc/classes/Animation.xml
index 80e0c81509..58681090b4 100644
--- a/doc/classes/Animation.xml
+++ b/doc/classes/Animation.xml
@@ -616,5 +616,14 @@
<constant name="LOOP_PINGPONG" value="2" enum="LoopMode">
Repeats playback and reverse playback at both ends of the animation.
</constant>
+ <constant name="LOOPED_FLAG_NONE" value="0" enum="LoopedFlag">
+ This flag indicates that the animation proceeds without any looping.
+ </constant>
+ <constant name="LOOPED_FLAG_END" value="1" enum="LoopedFlag">
+ This flag indicates that the animation has reached the end of the animation and just after loop processed.
+ </constant>
+ <constant name="LOOPED_FLAG_START" value="2" enum="LoopedFlag">
+ This flag indicates that the animation has reached the start of the animation and just after loop processed.
+ </constant>
</constants>
</class>
diff --git a/doc/classes/AnimationNode.xml b/doc/classes/AnimationNode.xml
index 915fbf53cd..79deb008d2 100644
--- a/doc/classes/AnimationNode.xml
+++ b/doc/classes/AnimationNode.xml
@@ -75,9 +75,10 @@
<param index="3" name="seeked" type="bool" />
<param index="4" name="is_external_seeking" type="bool" />
<param index="5" name="blend" type="float" />
- <param index="6" name="pingponged" type="int" default="0" />
+ <param index="6" name="looped_flag" type="int" enum="Animation.LoopedFlag" default="0" />
<description>
Blend an animation by [param blend] amount (name must be valid in the linked [AnimationPlayer]). A [param time] and [param delta] may be passed, as well as whether [param seeked] happened.
+ A [param looped_flag] is used by internal processing immediately after the loop. See also [enum Animation.LoopedFlag].
</description>
</method>
<method name="blend_input">