summaryrefslogtreecommitdiff
path: root/doc/classes/Animation.xml
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-07-31 23:53:19 +0200
committerGitHub <noreply@github.com>2022-07-31 23:53:19 +0200
commite8d9191ff0650accf281e7f5e3a273634fe83a7a (patch)
tree78a35aed442791b93f827c371d0ae927603340e1 /doc/classes/Animation.xml
parentf2791a75b39bd7c4060d837df8eaec807cc51dc2 (diff)
parent2febf0ccdb2376b886d30b938c21c62b05b7cf87 (diff)
Merge pull request #56087 from zaevi/return_key_index
Diffstat (limited to 'doc/classes/Animation.xml')
-rw-r--r--doc/classes/Animation.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/classes/Animation.xml b/doc/classes/Animation.xml
index a92b237624..f40f11944d 100644
--- a/doc/classes/Animation.xml
+++ b/doc/classes/Animation.xml
@@ -391,13 +391,13 @@
</description>
</method>
<method name="track_insert_key">
- <return type="void" />
+ <return type="int" />
<argument index="0" name="track_idx" type="int" />
<argument index="1" name="time" type="float" />
<argument index="2" name="key" type="Variant" />
<argument index="3" name="transition" type="float" default="1" />
<description>
- Insert a generic key in a given track.
+ Inserts a generic key in a given track. Returns the key index.
</description>
</method>
<method name="track_is_compressed" qualifiers="const">