mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Merge pull request #91818 from rburing/fti_multimesh
Physics interpolation: `MultiMesh`
This commit is contained in:
commit
6a9ecdcf0c
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