Update docs and bindings for new integer vector types
This commit is contained in:
@ -1,10 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<class name="Rect2" version="4.0">
|
||||
<brief_description>
|
||||
2D axis-aligned bounding box.
|
||||
2D axis-aligned bounding box using floating point coordinates.
|
||||
</brief_description>
|
||||
<description>
|
||||
Rect2 consists of a position, a size, and several utility functions. It is typically used for fast overlap tests.
|
||||
[Rect2] consists of a position, a size, and several utility functions. It is typically used for fast overlap tests.
|
||||
It uses floating point coordinates.
|
||||
</description>
|
||||
<tutorials>
|
||||
<link>https://docs.godotengine.org/en/latest/tutorials/math/index.html</link>
|
||||
@ -36,6 +37,15 @@
|
||||
Constructs a [Rect2] by x, y, width, and height.
|
||||
</description>
|
||||
</method>
|
||||
<method name="Rect2">
|
||||
<return type="Rect2">
|
||||
</return>
|
||||
<argument index="0" name="from" type="Rect2i">
|
||||
</argument>
|
||||
<description>
|
||||
Constructs a [Rect2] from a [Rect2i].
|
||||
</description>
|
||||
</method>
|
||||
<method name="abs">
|
||||
<return type="Rect2">
|
||||
</return>
|
||||
|
||||
Reference in New Issue
Block a user