From 8bcce0ebb2ab5da94cc86f77df4c86f63bc5d22e Mon Sep 17 00:00:00 2001 From: smix8 <52464204+smix8@users.noreply.github.com> Date: Thu, 2 Jun 2022 09:25:42 +0200 Subject: Expose get_mesh() for NavigationPolygon Resources Expose get_mesh() for NavigationPolygon Resources. --- doc/classes/NavigationPolygon.xml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'doc') diff --git a/doc/classes/NavigationPolygon.xml b/doc/classes/NavigationPolygon.xml index ee57d8f26b..0a2ceeedc5 100644 --- a/doc/classes/NavigationPolygon.xml +++ b/doc/classes/NavigationPolygon.xml @@ -80,6 +80,12 @@ Clears the array of polygons, but it doesn't clear the array of outlines and vertices. + + + + Returns the [NavigationMesh] resulting from this navigation polygon. This navmesh can be used to update the navmesh of a region with the [method NavigationServer3D.region_set_navmesh] API directly (as 2D uses the 3D server behind the scene). + + -- cgit v1.2.3