summaryrefslogtreecommitdiff
path: root/doc/classes/SpriteFrames.xml
diff options
context:
space:
mode:
Diffstat (limited to 'doc/classes/SpriteFrames.xml')
-rw-r--r--doc/classes/SpriteFrames.xml30
1 files changed, 15 insertions, 15 deletions
diff --git a/doc/classes/SpriteFrames.xml b/doc/classes/SpriteFrames.xml
index a4f24f0603..9facdde681 100644
--- a/doc/classes/SpriteFrames.xml
+++ b/doc/classes/SpriteFrames.xml
@@ -12,7 +12,7 @@
<method name="add_animation">
<return type="void">
</return>
- <argument index="0" name="anim" type="String">
+ <argument index="0" name="anim" type="StringName">
</argument>
<description>
Adds a new animation to the library.
@@ -21,7 +21,7 @@
<method name="add_frame">
<return type="void">
</return>
- <argument index="0" name="anim" type="String">
+ <argument index="0" name="anim" type="StringName">
</argument>
<argument index="1" name="frame" type="Texture2D">
</argument>
@@ -34,7 +34,7 @@
<method name="clear">
<return type="void">
</return>
- <argument index="0" name="anim" type="String">
+ <argument index="0" name="anim" type="StringName">
</argument>
<description>
Removes all frames from the given animation.
@@ -50,7 +50,7 @@
<method name="get_animation_loop" qualifiers="const">
<return type="bool">
</return>
- <argument index="0" name="anim" type="String">
+ <argument index="0" name="anim" type="StringName">
</argument>
<description>
If [code]true[/code], the given animation will loop.
@@ -66,7 +66,7 @@
<method name="get_animation_speed" qualifiers="const">
<return type="float">
</return>
- <argument index="0" name="anim" type="String">
+ <argument index="0" name="anim" type="StringName">
</argument>
<description>
The animation's speed in frames per second.
@@ -75,7 +75,7 @@
<method name="get_frame" qualifiers="const">
<return type="Texture2D">
</return>
- <argument index="0" name="anim" type="String">
+ <argument index="0" name="anim" type="StringName">
</argument>
<argument index="1" name="idx" type="int">
</argument>
@@ -86,7 +86,7 @@
<method name="get_frame_count" qualifiers="const">
<return type="int">
</return>
- <argument index="0" name="anim" type="String">
+ <argument index="0" name="anim" type="StringName">
</argument>
<description>
Returns the number of frames in the animation.
@@ -95,7 +95,7 @@
<method name="has_animation" qualifiers="const">
<return type="bool">
</return>
- <argument index="0" name="anim" type="String">
+ <argument index="0" name="anim" type="StringName">
</argument>
<description>
If [code]true[/code], the named animation exists.
@@ -104,7 +104,7 @@
<method name="remove_animation">
<return type="void">
</return>
- <argument index="0" name="anim" type="String">
+ <argument index="0" name="anim" type="StringName">
</argument>
<description>
Removes the given animation.
@@ -113,7 +113,7 @@
<method name="remove_frame">
<return type="void">
</return>
- <argument index="0" name="anim" type="String">
+ <argument index="0" name="anim" type="StringName">
</argument>
<argument index="1" name="idx" type="int">
</argument>
@@ -124,9 +124,9 @@
<method name="rename_animation">
<return type="void">
</return>
- <argument index="0" name="anim" type="String">
+ <argument index="0" name="anim" type="StringName">
</argument>
- <argument index="1" name="newname" type="String">
+ <argument index="1" name="newname" type="StringName">
</argument>
<description>
Changes the animation's name to [code]newname[/code].
@@ -135,7 +135,7 @@
<method name="set_animation_loop">
<return type="void">
</return>
- <argument index="0" name="anim" type="String">
+ <argument index="0" name="anim" type="StringName">
</argument>
<argument index="1" name="loop" type="bool">
</argument>
@@ -146,7 +146,7 @@
<method name="set_animation_speed">
<return type="void">
</return>
- <argument index="0" name="anim" type="String">
+ <argument index="0" name="anim" type="StringName">
</argument>
<argument index="1" name="speed" type="float">
</argument>
@@ -157,7 +157,7 @@
<method name="set_frame">
<return type="void">
</return>
- <argument index="0" name="anim" type="String">
+ <argument index="0" name="anim" type="StringName">
</argument>
<argument index="1" name="idx" type="int">
</argument>