diff options
| author | Eoin O'Neill <eoinoneill1991@gmail.com> | 2019-11-30 21:47:16 -0800 |
|---|---|---|
| committer | Eoin O'Neill <eoinoneill1991@gmail.com> | 2019-12-04 16:00:18 -0800 |
| commit | f7f7544997128ed1b01398adf84225fdcfb3e3db (patch) | |
| tree | 0c3c8811b6f05ba8f2564900fc58f7b7d65bed58 /servers | |
| parent | 6f38aeef5255d1fdeb99d727a0f67b9be6ccdf36 (diff) | |
| download | redot-engine-f7f7544997128ed1b01398adf84225fdcfb3e3db.tar.gz | |
Added method binding for `multimesh_create` that was missing from VisualServer class.
Diffstat (limited to 'servers')
| -rw-r--r-- | servers/visual_server.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/servers/visual_server.cpp b/servers/visual_server.cpp index a1ba946d8c..85fbcc3a6a 100644 --- a/servers/visual_server.cpp +++ b/servers/visual_server.cpp @@ -1717,6 +1717,7 @@ void VisualServer::_bind_methods() { ClassDB::bind_method(D_METHOD("mesh_get_custom_aabb", "mesh"), &VisualServer::mesh_get_custom_aabb); ClassDB::bind_method(D_METHOD("mesh_clear", "mesh"), &VisualServer::mesh_clear); + ClassDB::bind_method(D_METHOD("multimesh_create"), &VisualServer::multimesh_create); ClassDB::bind_method(D_METHOD("multimesh_allocate", "multimesh", "instances", "transform_format", "color_format", "custom_data_format"), &VisualServer::multimesh_allocate, DEFVAL(MULTIMESH_CUSTOM_DATA_NONE)); ClassDB::bind_method(D_METHOD("multimesh_get_instance_count", "multimesh"), &VisualServer::multimesh_get_instance_count); ClassDB::bind_method(D_METHOD("multimesh_set_mesh", "multimesh", "mesh"), &VisualServer::multimesh_set_mesh); |
