diff options
author | lolligerjoj <lolligerjoj@gmail.com> | 2020-03-19 21:08:24 +0100 |
---|---|---|
committer | lolligerjoj <lolligerjoj@gmail.com> | 2020-10-01 14:27:09 +0200 |
commit | ff4af94414ff34e1993fa315fa8988af78ee6d8c (patch) | |
tree | 48fa1004a030fe93e83ff9746f025c35819d4879 /doc/classes | |
parent | 42f20985093fee4528c83d8104cba49734ab51b9 (diff) |
Expose Animation::value_track_interpolate to GDscript
Diffstat (limited to 'doc/classes')
-rw-r--r-- | doc/classes/Animation.xml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/classes/Animation.xml b/doc/classes/Animation.xml index 9529c60771..ceef16f158 100644 --- a/doc/classes/Animation.xml +++ b/doc/classes/Animation.xml @@ -692,6 +692,17 @@ Sets the update mode (see [enum UpdateMode]) of a value track. </description> </method> + <method name="value_track_interpolate" qualifiers="const"> + <return type="float"> + </return> + <argument index="0" name="track_idx" type="int"> + </argument> + <argument index="1" name="time_sec" type="float"> + </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. + </description> + </method> </methods> <members> <member name="length" type="float" setter="set_length" getter="get_length" default="1.0"> |