Adds an array of vertex positions to the geometry data for navigation mesh baking to form triangulated faces. For each face the array must have three vertex positions in clockwise winding order. Since [NavigationMesh] resource have no transform all vertex positions need to be offset by the node's transform using the [code]xform[/code] parameter.
</description>
</method>
<methodname="add_mesh">
<returntype="void"/>
<paramindex="0"name="mesh"type="Mesh"/>
<paramindex="1"name="xform"type="Transform3D"/>
<description>
Adds the geometry data of a [Mesh] resource to the navigation mesh baking data. The mesh must have valid triangulated mesh data to be considered. Since [NavigationMesh] resource have no transform all vertex positions need to be offset by the node's transform using the [code]xform[/code] parameter.
</description>
</method>
<methodname="add_mesh_array">
<returntype="void"/>
<paramindex="0"name="mesh_array"type="Array"/>
<paramindex="1"name="xform"type="Transform3D"/>
<description>
Adds an [Array] the size of [constant Mesh.ARRAY_MAX] and with vertices at index [constant Mesh.ARRAY_VERTEX] and indices at index [constant Mesh.ARRAY_INDEX] to the navigation mesh baking data. The array must have valid triangulated mesh data to be considered. Since [NavigationMesh] resource have no transform all vertex positions need to be offset by the node's transform using the [code]xform[/code] parameter.
</description>
</method>
<methodname="clear">
<returntype="void"/>
<description>
Clears the internal data.
</description>
</method>
<methodname="get_indices"qualifiers="const">
<returntype="PackedInt32Array"/>
<description>
Returns the parsed source geometry data indices array.
</description>
</method>
<methodname="get_vertices"qualifiers="const">
<returntype="PackedFloat32Array"/>
<description>
Returns the parsed source geometry data vertices array.