summaryrefslogtreecommitdiff
path: root/scene/resources
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2020-10-01 15:27:32 +0200
committerGitHub <noreply@github.com>2020-10-01 15:27:32 +0200
commitf3e557780fd056ce60986a5351a72c1d387e1859 (patch)
treed1671102b514fd5c4489e5c2ade65f08f63dedee /scene/resources
parentc646768ba2ca320cc74457f21ce381f15ce46535 (diff)
parentff4af94414ff34e1993fa315fa8988af78ee6d8c (diff)
Merge pull request #37194 from lolligerjoj/expose_val_interp
Expose Animation::value_track_interpolate to GDscript
Diffstat (limited to 'scene/resources')
-rw-r--r--scene/resources/animation.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/resources/animation.cpp b/scene/resources/animation.cpp
index b8edd70712..92103f3b1d 100644
--- a/scene/resources/animation.cpp
+++ b/scene/resources/animation.cpp
@@ -2633,6 +2633,7 @@ void Animation::_bind_methods() {
ClassDB::bind_method(D_METHOD("value_track_get_update_mode", "track_idx"), &Animation::value_track_get_update_mode);
ClassDB::bind_method(D_METHOD("value_track_get_key_indices", "track_idx", "time_sec", "delta"), &Animation::_value_track_get_key_indices);
+ ClassDB::bind_method(D_METHOD("value_track_interpolate", "track_idx", "time_sec"), &Animation::value_track_interpolate);
ClassDB::bind_method(D_METHOD("method_track_get_key_indices", "track_idx", "time_sec", "delta"), &Animation::_method_track_get_key_indices);
ClassDB::bind_method(D_METHOD("method_track_get_name", "track_idx", "key_idx"), &Animation::method_track_get_name);