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.xml16
1 files changed, 8 insertions, 8 deletions
diff --git a/doc/classes/Animation.xml b/doc/classes/Animation.xml
index ceef16f158..d34308501c 100644
--- a/doc/classes/Animation.xml
+++ b/doc/classes/Animation.xml
@@ -681,26 +681,26 @@
Returns the update mode of a value track.
</description>
</method>
- <method name="value_track_set_update_mode">
- <return type="void">
+ <method name="value_track_interpolate" qualifiers="const">
+ <return type="Variant">
</return>
<argument index="0" name="track_idx" type="int">
</argument>
- <argument index="1" name="mode" type="int" enum="Animation.UpdateMode">
+ <argument index="1" name="time_sec" type="float">
</argument>
<description>
- Sets the update mode (see [enum UpdateMode]) of a value track.
+ Returns the interpolated value at the given time (in seconds). The [code]track_idx[/code] must be the index of a value track.
</description>
</method>
- <method name="value_track_interpolate" qualifiers="const">
- <return type="float">
+ <method name="value_track_set_update_mode">
+ <return type="void">
</return>
<argument index="0" name="track_idx" type="int">
</argument>
- <argument index="1" name="time_sec" type="float">
+ <argument index="1" name="mode" type="int" enum="Animation.UpdateMode">
</argument>
<description>
- Returns the interpolated value at the given time (in seconds). The [code]track_idx[/code] must be the index of a value track.
+ Sets the update mode (see [enum UpdateMode]) of a value track.
</description>
</method>
</methods>