mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Variant: Sync docs with new constructors, fixups after #43403
Change DocData comparators for MethodDoc and ArgumentDoc to get a better ordering of constructors.
This commit is contained in:
@@ -14,6 +14,31 @@
|
||||
<link title="Advanced vector math">https://docs.godotengine.org/en/latest/tutorials/math/vectors_advanced.html</link>
|
||||
</tutorials>
|
||||
<methods>
|
||||
<method name="Rect2">
|
||||
<return type="Rect2">
|
||||
</return>
|
||||
<description>
|
||||
Constructs a default-initialized [Rect2] with default (zero) values of [member position] and [member size].
|
||||
</description>
|
||||
</method>
|
||||
<method name="Rect2">
|
||||
<return type="Rect2">
|
||||
</return>
|
||||
<argument index="0" name="from" type="Rect2">
|
||||
</argument>
|
||||
<description>
|
||||
Constructs a [Rect2] as a copy of the given [Rect2].
|
||||
</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="Rect2">
|
||||
<return type="Rect2">
|
||||
</return>
|
||||
@@ -40,15 +65,6 @@
|
||||
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