diff options
author | Zae <zaevi@live.com> | 2021-12-20 17:15:21 +0800 |
---|---|---|
committer | Rémi Verschelde <remi@verschelde.fr> | 2022-07-31 17:38:49 +0200 |
commit | 2febf0ccdb2376b886d30b938c21c62b05b7cf87 (patch) | |
tree | 1c952ab7be0a82d672cb87afcbd921cd82402187 /doc/classes | |
parent | 602e967ba8fd336a230fc3ab17ef9ead7b46eae1 (diff) |
Make `Animation::track_insert_key` return key index
Diffstat (limited to 'doc/classes')
-rw-r--r-- | doc/classes/Animation.xml | 4 |
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"> |