summaryrefslogtreecommitdiff
path: root/doc/classes/Animation.xml
diff options
context:
space:
mode:
Diffstat (limited to 'doc/classes/Animation.xml')
-rw-r--r--doc/classes/Animation.xml22
1 files changed, 11 insertions, 11 deletions
diff --git a/doc/classes/Animation.xml b/doc/classes/Animation.xml
index 53d3663d4f..c79903cb80 100644
--- a/doc/classes/Animation.xml
+++ b/doc/classes/Animation.xml
@@ -536,43 +536,43 @@
Set the interpolation type of a given track, from the INTERPOLATION_* enum.
</description>
</method>
- <method name="track_set_key_transition">
+ <method name="track_set_key_time">
<return type="void">
</return>
<argument index="0" name="idx" type="int">
</argument>
<argument index="1" name="key_idx" type="int">
</argument>
- <argument index="2" name="transition" type="float">
+ <argument index="2" name="time" type="float">
</argument>
<description>
- Set the transition curve (easing) for a specific key (see built-in math function "ease").
+ Set the time of an existing key.
</description>
</method>
- <method name="track_set_key_value">
+ <method name="track_set_key_transition">
<return type="void">
</return>
<argument index="0" name="idx" type="int">
</argument>
- <argument index="1" name="key" type="int">
+ <argument index="1" name="key_idx" type="int">
</argument>
- <argument index="2" name="value" type="Variant">
+ <argument index="2" name="transition" type="float">
</argument>
<description>
- Set the value of an existing key.
+ Set the transition curve (easing) for a specific key (see built-in math function "ease").
</description>
</method>
- <method name="track_set_key_time">
+ <method name="track_set_key_value">
<return type="void">
</return>
<argument index="0" name="idx" type="int">
</argument>
- <argument index="1" name="key_idx" type="int">
+ <argument index="1" name="key" type="int">
</argument>
- <argument index="2" name="time" type="float">
+ <argument index="2" name="value" type="Variant">
</argument>
<description>
- Set the time of an existing key.
+ Set the value of an existing key.
</description>
</method>
<method name="track_set_path">