diff options
Diffstat (limited to 'scene/resources/mesh_library.cpp')
-rw-r--r-- | scene/resources/mesh_library.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/scene/resources/mesh_library.cpp b/scene/resources/mesh_library.cpp index cc357c4d9b..becbf39dad 100644 --- a/scene/resources/mesh_library.cpp +++ b/scene/resources/mesh_library.cpp @@ -244,19 +244,19 @@ int MeshLibrary::get_last_unused_item_id() const { void MeshLibrary::_bind_methods() { - ClassDB::bind_method(_MD("create_item","id"),&MeshLibrary::create_item); - ClassDB::bind_method(_MD("set_item_name","id","name"),&MeshLibrary::set_item_name); - ClassDB::bind_method(_MD("set_item_mesh","id","mesh:Mesh"),&MeshLibrary::set_item_mesh); - ClassDB::bind_method(_MD("set_item_navmesh","id","navmesh:NavigationMesh"),&MeshLibrary::set_item_navmesh); - ClassDB::bind_method(_MD("set_item_shape","id","shape:Shape"),&MeshLibrary::set_item_shape); - ClassDB::bind_method(_MD("get_item_name","id"),&MeshLibrary::get_item_name); - ClassDB::bind_method(_MD("get_item_mesh:Mesh","id"),&MeshLibrary::get_item_mesh); - ClassDB::bind_method(_MD("get_item_navmesh:NavigationMesh","id"),&MeshLibrary::get_item_navmesh); - ClassDB::bind_method(_MD("get_item_shape:Shape","id"),&MeshLibrary::get_item_shape); - ClassDB::bind_method(_MD("remove_item","id"),&MeshLibrary::remove_item); - ClassDB::bind_method(_MD("clear"),&MeshLibrary::clear); - ClassDB::bind_method(_MD("get_item_list"),&MeshLibrary::get_item_list); - ClassDB::bind_method(_MD("get_last_unused_item_id"),&MeshLibrary::get_last_unused_item_id); + ClassDB::bind_method(D_METHOD("create_item","id"),&MeshLibrary::create_item); + ClassDB::bind_method(D_METHOD("set_item_name","id","name"),&MeshLibrary::set_item_name); + ClassDB::bind_method(D_METHOD("set_item_mesh","id","mesh:Mesh"),&MeshLibrary::set_item_mesh); + ClassDB::bind_method(D_METHOD("set_item_navmesh","id","navmesh:NavigationMesh"),&MeshLibrary::set_item_navmesh); + ClassDB::bind_method(D_METHOD("set_item_shape","id","shape:Shape"),&MeshLibrary::set_item_shape); + ClassDB::bind_method(D_METHOD("get_item_name","id"),&MeshLibrary::get_item_name); + ClassDB::bind_method(D_METHOD("get_item_mesh:Mesh","id"),&MeshLibrary::get_item_mesh); + ClassDB::bind_method(D_METHOD("get_item_navmesh:NavigationMesh","id"),&MeshLibrary::get_item_navmesh); + ClassDB::bind_method(D_METHOD("get_item_shape:Shape","id"),&MeshLibrary::get_item_shape); + ClassDB::bind_method(D_METHOD("remove_item","id"),&MeshLibrary::remove_item); + ClassDB::bind_method(D_METHOD("clear"),&MeshLibrary::clear); + ClassDB::bind_method(D_METHOD("get_item_list"),&MeshLibrary::get_item_list); + ClassDB::bind_method(D_METHOD("get_last_unused_item_id"),&MeshLibrary::get_last_unused_item_id); } MeshLibrary::MeshLibrary() { |