aboutsummaryrefslogtreecommitdiff
path: root/scene/3d/navigation_mesh.cpp
diff options
context:
space:
mode:
authorRémi Verschelde2017-08-16 17:14:10 +0200
committerGitHub2017-08-16 17:14:10 +0200
commit40f70d80ac75d9222e083c55773f07eb65b84dc8 (patch)
tree642e792796387b887d8a7aaa9103a0508736aaad /scene/3d/navigation_mesh.cpp
parent63453471903c09a18d3d771b24594ed082146354 (diff)
parentdeaf095dcfe405d142b876b359df512e9e1ba2cc (diff)
downloadgodot-40f70d80ac75d9222e083c55773f07eb65b84dc8.tar.gz
godot-40f70d80ac75d9222e083c55773f07eb65b84dc8.tar.zst
godot-40f70d80ac75d9222e083c55773f07eb65b84dc8.zip
Merge pull request #10322 from TwistedTwigleg/Navmesh_expose_create_from_mesh
Exposed create_from_mesh in Navmesh
Diffstat (limited to 'scene/3d/navigation_mesh.cpp')
-rw-r--r--scene/3d/navigation_mesh.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/scene/3d/navigation_mesh.cpp b/scene/3d/navigation_mesh.cpp
index 4c93bcfb5..5d4568f5d 100644
--- a/scene/3d/navigation_mesh.cpp
+++ b/scene/3d/navigation_mesh.cpp
@@ -208,6 +208,8 @@ void NavigationMesh::_bind_methods() {
ClassDB::bind_method(D_METHOD("get_polygon", "idx"), &NavigationMesh::get_polygon);
ClassDB::bind_method(D_METHOD("clear_polygons"), &NavigationMesh::clear_polygons);
+ ClassDB::bind_method(D_METHOD("create_from_mesh", "mesh"), &NavigationMesh::create_from_mesh);
+
ClassDB::bind_method(D_METHOD("_set_polygons", "polygons"), &NavigationMesh::_set_polygons);
ClassDB::bind_method(D_METHOD("_get_polygons"), &NavigationMesh::_get_polygons);