Expose "fade" methods for AnimationNodeStateMachinePlayback

This commit is contained in:
Maybee Rezbit
2025-08-26 07:41:02 -04:00
parent 17fb6e3bd0
commit dc8f7b4f5d
4 changed files with 34 additions and 6 deletions

View File

@@ -40,12 +40,36 @@
Returns the playback position within the current animation state.
</description>
</method>
<method name="get_fading_from_length" qualifiers="const">
<return type="float" />
<description>
Returns the playback state length of the node from [method get_fading_from_node]. Returns [code]0[/code] if no animation fade is occurring.
</description>
</method>
<method name="get_fading_from_node" qualifiers="const">
<return type="StringName" />
<description>
Returns the starting state of currently fading animation.
</description>
</method>
<method name="get_fading_from_play_position" qualifiers="const">
<return type="float" />
<description>
Returns the playback position of the node from [method get_fading_from_node]. Returns [code]0[/code] if no animation fade is occurring.
</description>
</method>
<method name="get_fading_length" qualifiers="const">
<return type="float" />
<description>
Returns the length of the current fade animation. Returns [code]0[/code] if no animation fade is occurring.
</description>
</method>
<method name="get_fading_position" qualifiers="const">
<return type="float" />
<description>
Returns the playback position of the current fade animation. Returns [code]0[/code] if no animation fade is occurring.
</description>
</method>
<method name="get_travel_path" qualifiers="const">
<return type="StringName[]" />
<description>