summaryrefslogtreecommitdiffstats
path: root/doc/classes
diff options
context:
space:
mode:
authorThaddeus Crews <repiteo@outlook.com>2024-11-13 08:33:57 -0600
committerThaddeus Crews <repiteo@outlook.com>2024-11-13 08:33:57 -0600
commit07d7d9bca5b2edb1f532630bbadac559df7f9518 (patch)
tree93c77a4e609b87448d361b65484082950ac6ee19 /doc/classes
parent150590a7e8b04a85b317eb09215759aa636dd277 (diff)
parent0c1f970adb78cb0653a3789ee61df4ab14b94b96 (diff)
downloadredot-engine-07d7d9bca5b2edb1f532630bbadac559df7f9518.tar.gz
Merge pull request #94372 from TokageItLab/advance-on-start
Add `advance_on_start` option to `NodeAnimation` to handle `advance(0)` for each `NodeAnimation`
Diffstat (limited to 'doc/classes')
-rw-r--r--doc/classes/AnimationNodeAnimation.xml4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/classes/AnimationNodeAnimation.xml b/doc/classes/AnimationNodeAnimation.xml
index 70c3e5a26e..f4490bc167 100644
--- a/doc/classes/AnimationNodeAnimation.xml
+++ b/doc/classes/AnimationNodeAnimation.xml
@@ -12,6 +12,10 @@
<link title="Third Person Shooter (TPS) Demo">https://godotengine.org/asset-library/asset/2710</link>
</tutorials>
<members>
+ <member name="advance_on_start" type="bool" setter="set_advance_on_start" getter="is_advance_on_start" default="false">
+ If [code]true[/code], on receiving a request to play an animation from the start, the first frame is not drawn, but only processed, and playback starts from the next frame.
+ See also the notes of [method AnimationPlayer.play].
+ </member>
<member name="animation" type="StringName" setter="set_animation" getter="get_animation" default="&amp;&quot;&quot;">
Animation to use as an output. It is one of the animations provided by [member AnimationTree.anim_player].
</member>