diff options
author | squash <ibrahimsenpai0@gmail.com> | 2022-10-20 11:26:49 +0300 |
---|---|---|
committer | squash <ibrahimsenpai0@gmail.com> | 2022-10-20 11:26:49 +0300 |
commit | 247a93845ddcfa1306aaf8cc41a4a133ab707fcf (patch) | |
tree | c50629b3c312fab38d8b8b1ce968c1eeb6aeedbf /doc | |
parent | 3a59c833f1b7e34ddef57522800288a0dee8562d (diff) | |
download | redot-engine-247a93845ddcfa1306aaf8cc41a4a133ab707fcf.tar.gz |
Expose Shape2D::get_rect to scripting
Diffstat (limited to 'doc')
-rw-r--r-- | doc/classes/Shape2D.xml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/classes/Shape2D.xml b/doc/classes/Shape2D.xml index 34ca228795..7be0ba64d6 100644 --- a/doc/classes/Shape2D.xml +++ b/doc/classes/Shape2D.xml @@ -66,6 +66,12 @@ Draws a solid shape onto a [CanvasItem] with the [RenderingServer] API filled with the specified [param color]. The exact drawing method is specific for each shape and cannot be configured. </description> </method> + <method name="get_rect" qualifiers="const"> + <return type="Rect2" /> + <description> + Returns a [Rect2] representing the shapes boundary. + </description> + </method> </methods> <members> <member name="custom_solver_bias" type="float" setter="set_custom_solver_bias" getter="get_custom_solver_bias" default="0.0"> |