mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user