Add clear() function to NavigationMesh / NavigationPolygon

Adds clear() function to NavigationMesh / NavigationPolygon.
This commit is contained in:
smix8
2023-07-07 15:59:10 +02:00
parent 443820686c
commit d253cd7864
6 changed files with 34 additions and 0 deletions

View File

@ -69,6 +69,12 @@
Adds a polygon using the indices of the vertices you get when calling [method get_vertices].
</description>
</method>
<method name="clear">
<return type="void" />
<description>
Clears the internal arrays for vertices and polygon indices.
</description>
</method>
<method name="clear_outlines">
<return type="void" />
<description>