mirror of
https://github.com/godotengine/godot.git
synced 2025-11-01 14:11:15 +00:00
Fixed Timestep Interpolation: MultiMesh
Adds fixed timestep interpolation to multimeshes. Co-authored-by: lawnjelly <lawnjelly@gmail.com>
This commit is contained in:
parent
a7598679cf
commit
1728f80e7c
19 changed files with 901 additions and 141 deletions
|
|
@ -2439,8 +2439,15 @@ void RenderingServer::_bind_methods() {
|
|||
ClassDB::bind_method(D_METHOD("multimesh_set_buffer", "multimesh", "buffer"), &RenderingServer::multimesh_set_buffer);
|
||||
ClassDB::bind_method(D_METHOD("multimesh_get_buffer", "multimesh"), &RenderingServer::multimesh_get_buffer);
|
||||
|
||||
ClassDB::bind_method(D_METHOD("multimesh_set_buffer_interpolated", "multimesh", "buffer", "buffer_previous"), &RenderingServer::multimesh_set_buffer_interpolated);
|
||||
ClassDB::bind_method(D_METHOD("multimesh_set_physics_interpolated", "multimesh", "interpolated"), &RenderingServer::multimesh_set_physics_interpolated);
|
||||
ClassDB::bind_method(D_METHOD("multimesh_set_physics_interpolation_quality", "multimesh", "quality"), &RenderingServer::multimesh_set_physics_interpolation_quality);
|
||||
ClassDB::bind_method(D_METHOD("multimesh_instance_reset_physics_interpolation", "multimesh", "index"), &RenderingServer::multimesh_instance_reset_physics_interpolation);
|
||||
|
||||
BIND_ENUM_CONSTANT(MULTIMESH_TRANSFORM_2D);
|
||||
BIND_ENUM_CONSTANT(MULTIMESH_TRANSFORM_3D);
|
||||
BIND_ENUM_CONSTANT(MULTIMESH_INTERP_QUALITY_FAST);
|
||||
BIND_ENUM_CONSTANT(MULTIMESH_INTERP_QUALITY_HIGH);
|
||||
|
||||
/* SKELETON API */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue