Add duplicate animation
Co-authored-by: Nonunknown <nonunknown777@gmail.com>
This commit is contained in:
@ -39,6 +39,14 @@
|
||||
Removes all animations. An empty [code]default[/code] animation will be created.
|
||||
</description>
|
||||
</method>
|
||||
<method name="duplicate_animation">
|
||||
<return type="void" />
|
||||
<param index="0" name="anim_from" type="StringName" />
|
||||
<param index="1" name="anim_to" type="StringName" />
|
||||
<description>
|
||||
Duplicates the animation [param anim_from] to a new animation named [param anim_to]. Fails if [param anim_to] already exists, or if [param anim_from] does not exist.
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_animation_loop" qualifiers="const">
|
||||
<return type="bool" />
|
||||
<param index="0" name="anim" type="StringName" />
|
||||
|
||||
Reference in New Issue
Block a user