summaryrefslogtreecommitdiff
path: root/doc/classes/BoxShape3D.xml
diff options
context:
space:
mode:
Diffstat (limited to 'doc/classes/BoxShape3D.xml')
-rw-r--r--doc/classes/BoxShape3D.xml20
1 files changed, 20 insertions, 0 deletions
diff --git a/doc/classes/BoxShape3D.xml b/doc/classes/BoxShape3D.xml
new file mode 100644
index 0000000000..fd08da148d
--- /dev/null
+++ b/doc/classes/BoxShape3D.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<class name="BoxShape3D" inherits="Shape3D" version="4.0">
+ <brief_description>
+ Box shape resource.
+ </brief_description>
+ <description>
+ 3D box shape that can be a child of a [PhysicsBody3D] or [Area3D].
+ </description>
+ <tutorials>
+ </tutorials>
+ <methods>
+ </methods>
+ <members>
+ <member name="extents" type="Vector3" setter="set_extents" getter="get_extents" default="Vector3( 1, 1, 1 )">
+ The box's half extents. The width, height and depth of this shape is twice the half extents.
+ </member>
+ </members>
+ <constants>
+ </constants>
+</class>