Explain editor usage of current_animation
This commit is contained in:
parent
2ba96f0dd9
commit
70ce86ad29
1 changed files with 2 additions and 1 deletions
|
@ -236,7 +236,8 @@
|
||||||
The name of the animation to play when the scene loads.
|
The name of the animation to play when the scene loads.
|
||||||
</member>
|
</member>
|
||||||
<member name="current_animation" type="String" setter="set_current_animation" getter="get_current_animation" default="""">
|
<member name="current_animation" type="String" setter="set_current_animation" getter="get_current_animation" default="""">
|
||||||
The name of the current animation, "" if not playing anything. When being set, does not restart the animation. See also [method play].
|
The name of the currently playing animation. If no animation is playing, the property's value is an empty string. Changing this value does not restart the animation. See [method play] for more information on playing animations.
|
||||||
|
[b]Note[/b]: while this property appears in the inspector, it's not meant to be edited and it's not saved in the scene. This property is mainly used to get the currently playing animation, and internally for animation playback tracks. For more information, see [Animation].
|
||||||
</member>
|
</member>
|
||||||
<member name="current_animation_length" type="float" setter="" getter="get_current_animation_length">
|
<member name="current_animation_length" type="float" setter="" getter="get_current_animation_length">
|
||||||
The length (in seconds) of the currently being played animation.
|
The length (in seconds) of the currently being played animation.
|
||||||
|
|
Loading…
Reference in a new issue