Add bounds function to NavigationMeshSourceGeometryData
Adds get_bounds() function to NavigationMeshSourceGeometryData2D/3D to get a bounding box that covers all the geometry.
This commit is contained in:
parent
1bd740d18d
commit
2e1f6b50fb
6 changed files with 144 additions and 0 deletions
|
|
@ -63,6 +63,12 @@
|
|||
Clears all projected obstructions.
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_bounds">
|
||||
<return type="AABB" />
|
||||
<description>
|
||||
Returns an axis-aligned bounding box that covers all the stored geometry data. The bounds are calculated when calling this function with the result cached until further geometry changes are made.
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_indices" qualifiers="const">
|
||||
<return type="PackedInt32Array" />
|
||||
<description>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue