d516aab8fa
Also enhance RigidBody docs as per https://github.com/godotengine/godot-docs/pull/1018 and fix the version tag in all files (not really stable yet, but it makes no sense to hardcode rc3 at this stage).
22 lines
649 B
XML
22 lines
649 B
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<class name="RectangleShape2D" inherits="Shape2D" category="Core" version="3.0-stable">
|
|
<brief_description>
|
|
Rectangle shape for 2D collisions.
|
|
</brief_description>
|
|
<description>
|
|
Rectangle shape for 2D collisions. This shape is useful for modeling box-like 2D objects.
|
|
</description>
|
|
<tutorials>
|
|
</tutorials>
|
|
<demos>
|
|
</demos>
|
|
<methods>
|
|
</methods>
|
|
<members>
|
|
<member name="extents" type="Vector2" setter="set_extents" getter="get_extents">
|
|
The rectangle's half extents. The width and height of this shape is twice the half extents.
|
|
</member>
|
|
</members>
|
|
<constants>
|
|
</constants>
|
|
</class>
|