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:
@@ -17,12 +17,17 @@
|
||||
<method name="Vector2i">
|
||||
<return type="Vector2i">
|
||||
</return>
|
||||
<argument index="0" name="x" type="int">
|
||||
</argument>
|
||||
<argument index="1" name="y" type="int">
|
||||
<description>
|
||||
Constructs a default-initialized [Vector2i] with all components set to [code]0[/code].
|
||||
</description>
|
||||
</method>
|
||||
<method name="Vector2i">
|
||||
<return type="Vector2i">
|
||||
</return>
|
||||
<argument index="0" name="from" type="Vector2i">
|
||||
</argument>
|
||||
<description>
|
||||
Constructs a new [Vector2i] from the given [code]x[/code] and [code]y[/code].
|
||||
Constructs a [Vector2i] as a copy of the given [Vector2i].
|
||||
</description>
|
||||
</method>
|
||||
<method name="Vector2i">
|
||||
@@ -34,6 +39,17 @@
|
||||
Constructs a new [Vector2i] from [Vector2]. The floating point coordinates will be truncated.
|
||||
</description>
|
||||
</method>
|
||||
<method name="Vector2i">
|
||||
<return type="Vector2i">
|
||||
</return>
|
||||
<argument index="0" name="x" type="int">
|
||||
</argument>
|
||||
<argument index="1" name="y" type="int">
|
||||
</argument>
|
||||
<description>
|
||||
Constructs a new [Vector2i] from the given [code]x[/code] and [code]y[/code].
|
||||
</description>
|
||||
</method>
|
||||
<method name="abs">
|
||||
<return type="Vector2i">
|
||||
</return>
|
||||
|
||||
Reference in New Issue
Block a user