diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2020-12-28 16:06:50 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-28 16:06:50 +0100 |
commit | 4ca98c7a359b313b5a997323b3e4c86cee6b566e (patch) | |
tree | 588dc5c8d4a287a53f5f6a1a8b62f367acfb3725 /doc | |
parent | 058f3fe069402978780f87ed383e3a72d4b3009e (diff) | |
parent | 4da4feed18f56a2bc5c88ffe5a4f73134e353c25 (diff) |
Merge pull request #44183 from madmiraal/box_shape-size
Use a size Vector for adjusting the size of Rectangles and Boxes
Diffstat (limited to 'doc')
-rw-r--r-- | doc/classes/BoxMesh.xml | 2 | ||||
-rw-r--r-- | doc/classes/BoxShape3D.xml | 4 | ||||
-rw-r--r-- | doc/classes/RectangleShape2D.xml | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/doc/classes/BoxMesh.xml b/doc/classes/BoxMesh.xml index 8a1b9e939e..1404477b46 100644 --- a/doc/classes/BoxMesh.xml +++ b/doc/classes/BoxMesh.xml @@ -14,7 +14,7 @@ </methods> <members> <member name="size" type="Vector3" setter="set_size" getter="get_size" default="Vector3( 2, 2, 2 )"> - Size of the box mesh. + The box's width, height and depth. </member> <member name="subdivide_depth" type="int" setter="set_subdivide_depth" getter="get_subdivide_depth" default="0"> Number of extra edge loops inserted along the Z axis. diff --git a/doc/classes/BoxShape3D.xml b/doc/classes/BoxShape3D.xml index d8cbd8b980..f5051413ce 100644 --- a/doc/classes/BoxShape3D.xml +++ b/doc/classes/BoxShape3D.xml @@ -14,8 +14,8 @@ <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 name="size" type="Vector3" setter="set_size" getter="get_size" default="Vector3( 2, 2, 2 )"> + The box's width, height and depth. </member> </members> <constants> diff --git a/doc/classes/RectangleShape2D.xml b/doc/classes/RectangleShape2D.xml index 041416a24b..8e37fbad6f 100644 --- a/doc/classes/RectangleShape2D.xml +++ b/doc/classes/RectangleShape2D.xml @@ -13,8 +13,8 @@ <methods> </methods> <members> - <member name="extents" type="Vector2" setter="set_extents" getter="get_extents" default="Vector2( 10, 10 )"> - The rectangle's half extents. The width and height of this shape is twice the half extents. + <member name="size" type="Vector2" setter="set_size" getter="get_size" default="Vector2( 20, 20 )"> + The rectangle's width and height. </member> </members> <constants> |