summaryrefslogtreecommitdiff
path: root/doc/classes
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-05-05 15:17:36 +0200
committerGitHub <noreply@github.com>2021-05-05 15:17:36 +0200
commite144ff0445b9e59a4733b253cdd352d52ee301bc (patch)
treec333d3fe7ddf1ef6e94bf2f0978d3358b34d1030 /doc/classes
parentd1801f976ff49ff6730c5b45d082f369ec27ec9b (diff)
parent7352a4c0d964d7aa7c3180fd493079107a4c5217 (diff)
Merge pull request #48315 from nekomatata/expose-physics-debug-shape
Expose get_debug_mesh in Shape3D to scripting API
Diffstat (limited to 'doc/classes')
-rw-r--r--doc/classes/Shape3D.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/classes/Shape3D.xml b/doc/classes/Shape3D.xml
index f8b749aebf..b5f70132d7 100644
--- a/doc/classes/Shape3D.xml
+++ b/doc/classes/Shape3D.xml
@@ -10,6 +10,13 @@
<link title="Physics introduction">https://docs.godotengine.org/en/latest/tutorials/physics/physics_introduction.html</link>
</tutorials>
<methods>
+ <method name="get_debug_mesh">
+ <return type="ArrayMesh">
+ </return>
+ <description>
+ Returns the [ArrayMesh] used to draw the debug collision for this [Shape3D].
+ </description>
+ </method>
</methods>
<members>
<member name="margin" type="float" setter="set_margin" getter="get_margin" default="0.04">