mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Use rectangle size instead of extents for Shape dimensions
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user