From 9712f8fd2da24d3f97b391c0a694215fd4f181c3 Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Wed, 16 Sep 2020 15:53:10 +0200 Subject: [PATCH] Cross-reference AABB getter methods in the documentation This also clarifies that `get_aabb()` returns the AABB in local space. See https://github.com/godotengine/godot/issues/42095. --- doc/classes/Mesh.xml | 2 +- doc/classes/MultiMesh.xml | 2 +- doc/classes/VisualInstance3D.xml | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/classes/Mesh.xml b/doc/classes/Mesh.xml index 367099e4552..1efa72a2b26 100644 --- a/doc/classes/Mesh.xml +++ b/doc/classes/Mesh.xml @@ -44,7 +44,7 @@ - Returns the smallest [AABB] enclosing this mesh. Not affected by [code]custom_aabb[/code]. + Returns the smallest [AABB] enclosing this mesh in local space. Not affected by [code]custom_aabb[/code]. See also [method VisualInstance3D.get_transformed_aabb]. [b]Note:[/b] This is only implemented for [ArrayMesh] and [PrimitiveMesh]. diff --git a/doc/classes/MultiMesh.xml b/doc/classes/MultiMesh.xml index 8a6c560cdd3..e1b3ffa2e4f 100644 --- a/doc/classes/MultiMesh.xml +++ b/doc/classes/MultiMesh.xml @@ -18,7 +18,7 @@ - Returns the visibility axis-aligned bounding box. + Returns the visibility axis-aligned bounding box in local space. See also [method VisualInstance3D.get_transformed_aabb]. diff --git a/doc/classes/VisualInstance3D.xml b/doc/classes/VisualInstance3D.xml index 6451b3f3301..01d569d9c8c 100644 --- a/doc/classes/VisualInstance3D.xml +++ b/doc/classes/VisualInstance3D.xml @@ -13,7 +13,7 @@ - Returns the [AABB] (also known as the bounding box) for this [VisualInstance3D]. + Returns the [AABB] (also known as the bounding box) for this [VisualInstance3D]. See also [method get_transformed_aabb]. @@ -44,7 +44,7 @@ Returns the transformed [AABB] (also known as the bounding box) for this [VisualInstance3D]. - Transformed in this case means the [AABB] plus the position, rotation, and scale of the [Node3D]'s [Transform]. + Transformed in this case means the [AABB] plus the position, rotation, and scale of the [Node3D]'s [Transform]. See also [method get_aabb].