Add document about animation read-only props and state length
This commit is contained in:
parent
27b2260460
commit
045c8845c7
3 changed files with 16 additions and 4 deletions
|
|
@ -24,12 +24,15 @@
|
|||
<method name="get_current_length" qualifiers="const">
|
||||
<return type="float" />
|
||||
<description>
|
||||
Returns the current state length.
|
||||
[b]Note:[/b] It is possible that any [AnimationRootNode] can be nodes as well as animations. This means that there can be multiple animations within a single state. Which animation length has priority depends on the nodes connected inside it. Also, if a transition does not reset, the remaining length at that point will be returned.
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_current_node" qualifiers="const">
|
||||
<return type="StringName" />
|
||||
<description>
|
||||
Returns the currently playing animation state.
|
||||
[b]Note:[/b] When using a cross-fade, the current state changes to the next state immediately after the cross-fade begins.
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_current_play_position" qualifiers="const">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue