summaryrefslogtreecommitdiffstats
path: root/core/bind/core_bind.h
diff options
context:
space:
mode:
authorlawnjelly <lawnjelly@gmail.com>2019-07-01 17:42:02 +0100
committerlawnjelly <lawnjelly@gmail.com>2019-07-11 08:25:26 +0100
commitbf6c301b9cb515789db03743dbcebc67a1865538 (patch)
tree140da2ddbf1ba40d57295ac284b691a3c5e346b0 /core/bind/core_bind.h
parentd40dbd6d1119a6e9f04431105f44185d9103b4e0 (diff)
downloadredot-engine-bf6c301b9cb515789db03743dbcebc67a1865538.tar.gz
Add access to interpolation fraction for fixed timestep interpolation
Addresses #30068 This is a prerequisite for allowing proper support for fixed timestep interpolation, exposing the interpolation fraction to the engine, modules and gdscript. The interpolation fraction is the fraction through the current physics tick at the time of the current frame.
Diffstat (limited to 'core/bind/core_bind.h')
-rw-r--r--core/bind/core_bind.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/bind/core_bind.h b/core/bind/core_bind.h
index 3be5a08752..f0f86e003f 100644
--- a/core/bind/core_bind.h
+++ b/core/bind/core_bind.h
@@ -746,6 +746,7 @@ public:
void set_physics_jitter_fix(float p_threshold);
float get_physics_jitter_fix() const;
+ float get_physics_interpolation_fraction() const;
void set_target_fps(int p_fps);
int get_target_fps() const;