Skip to content

Commit

Permalink
Merge pull request #94299 from TokageItLab/docs-override-loop-tree
Browse files Browse the repository at this point in the history
Add a note of `loop_mode` for `custom_timeline` to the `NodeAnimation` docs
  • Loading branch information
akien-mga committed Aug 6, 2024
2 parents 3978628 + dd32e2d commit 6519e2e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions doc/classes/AnimationNodeAnimation.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
</member>
<member name="loop_mode" type="int" setter="set_loop_mode" getter="get_loop_mode" enum="Animation.LoopMode">
If [member use_custom_timeline] is [code]true[/code], override the loop settings of the original [Animation] resource with the value.
[b]Note:[/b] If the [member Animation.loop_mode] isn't set to looping, the [method Animation.track_set_interpolation_loop_wrap] option will not be respected. If you cannot get the expected behavior, consider duplicating the [Animation] resource and changing the loop settings.
</member>
<member name="play_mode" type="int" setter="set_play_mode" getter="get_play_mode" enum="AnimationNodeAnimation.PlayMode" default="0">
Determines the playback direction of the animation.
Expand Down

0 comments on commit 6519e2e

Please sign in to comment.