Skip to content

Commit

Permalink
Add documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Nonunknown committed Aug 7, 2023
2 parents c7be6a8 + d86b6cf commit f24a298
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions doc/classes/SpriteFrames.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,14 @@
Adds a frame to the [param anim] animation. If [param at_position] is [code]-1[/code], the frame will be added to the end of the animation.
</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>
Duplicate all frames [param anim_from] to the [param anim_to].
+ </description>
+ </method>
<method name="clear">
<return type="void" />
<param index="0" name="anim" type="StringName" />
Expand Down

0 comments on commit f24a298

Please sign in to comment.