summaryrefslogtreecommitdiff
path: root/doc/classes/Mesh.xml
diff options
context:
space:
mode:
authorAaron Franke <arnfranke@yahoo.com>2019-12-07 21:23:05 -0500
committerAaron Franke <arnfranke@yahoo.com>2019-12-11 08:25:36 -0500
commita139104646d8358b881c33f5c79db4e414a1ab82 (patch)
treeb3654ae60b6460a84c7985f0e90fc746b93c3a0b /doc/classes/Mesh.xml
parentcd9d5132854e239726a08098d9029bdd00eee752 (diff)
Expose Mesh get_aabb
Diffstat (limited to 'doc/classes/Mesh.xml')
-rw-r--r--doc/classes/Mesh.xml8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/classes/Mesh.xml b/doc/classes/Mesh.xml
index f7b3b0d7ea..d4804930e1 100644
--- a/doc/classes/Mesh.xml
+++ b/doc/classes/Mesh.xml
@@ -40,6 +40,14 @@
Generate a [TriangleMesh] from the mesh.
</description>
</method>
+ <method name="get_aabb" qualifiers="const">
+ <return type="AABB">
+ </return>
+ <description>
+ Returns the smallest [AABB] enclosing this mesh. Not affected by [code]custom_aabb[/code].
+ [b]Note:[/b] This is only implemented for [ArrayMesh] and [PrimitiveMesh].
+ </description>
+ </method>
<method name="get_faces" qualifiers="const">
<return type="PoolVector3Array">
</return>