mirror of
https://github.com/godotengine/godot.git
synced 2026-01-05 06:11:29 +03:00
doc: Sync classref to add operators after #43419
This commit is contained in:
@@ -17,14 +17,14 @@
|
||||
<link title="All 2D Demos">https://github.com/godotengine/godot-demo-projects/tree/master/2d</link>
|
||||
</tutorials>
|
||||
<methods>
|
||||
<method name="Vector2">
|
||||
<method name="Vector2" qualifiers="constructor">
|
||||
<return type="Vector2">
|
||||
</return>
|
||||
<description>
|
||||
Constructs a default-initialized [Vector2] with all components set to [code]0[/code].
|
||||
</description>
|
||||
</method>
|
||||
<method name="Vector2">
|
||||
<method name="Vector2" qualifiers="constructor">
|
||||
<return type="Vector2">
|
||||
</return>
|
||||
<argument index="0" name="from" type="Vector2">
|
||||
@@ -33,7 +33,7 @@
|
||||
Constructs a [Vector2] as a copy of the given [Vector2].
|
||||
</description>
|
||||
</method>
|
||||
<method name="Vector2">
|
||||
<method name="Vector2" qualifiers="constructor">
|
||||
<return type="Vector2">
|
||||
</return>
|
||||
<argument index="0" name="from" type="Vector2i">
|
||||
@@ -42,7 +42,7 @@
|
||||
Constructs a new [Vector2] from [Vector2i].
|
||||
</description>
|
||||
</method>
|
||||
<method name="Vector2">
|
||||
<method name="Vector2" qualifiers="constructor">
|
||||
<return type="Vector2">
|
||||
</return>
|
||||
<argument index="0" name="x" type="float">
|
||||
@@ -250,6 +250,146 @@
|
||||
Returns the vector scaled to unit length. Equivalent to [code]v / v.length()[/code].
|
||||
</description>
|
||||
</method>
|
||||
<method name="operator !=" qualifiers="operator">
|
||||
<return type="bool">
|
||||
</return>
|
||||
<argument index="0" name="right" type="Vector2">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="operator *" qualifiers="operator">
|
||||
<return type="Vector2">
|
||||
</return>
|
||||
<argument index="0" name="right" type="Vector2">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="operator *" qualifiers="operator">
|
||||
<return type="Vector2">
|
||||
</return>
|
||||
<argument index="0" name="right" type="Transform2D">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="operator *" qualifiers="operator">
|
||||
<return type="Vector2">
|
||||
</return>
|
||||
<argument index="0" name="right" type="float">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="operator *" qualifiers="operator">
|
||||
<return type="Vector2">
|
||||
</return>
|
||||
<argument index="0" name="right" type="int">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="operator +" qualifiers="operator">
|
||||
<return type="Vector2">
|
||||
</return>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="operator +" qualifiers="operator">
|
||||
<return type="Vector2">
|
||||
</return>
|
||||
<argument index="0" name="right" type="Vector2">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="operator -" qualifiers="operator">
|
||||
<return type="Vector2">
|
||||
</return>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="operator -" qualifiers="operator">
|
||||
<return type="Vector2">
|
||||
</return>
|
||||
<argument index="0" name="right" type="Vector2">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="operator /" qualifiers="operator">
|
||||
<return type="Vector2">
|
||||
</return>
|
||||
<argument index="0" name="right" type="Vector2">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="operator /" qualifiers="operator">
|
||||
<return type="Vector2">
|
||||
</return>
|
||||
<argument index="0" name="right" type="float">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="operator /" qualifiers="operator">
|
||||
<return type="Vector2">
|
||||
</return>
|
||||
<argument index="0" name="right" type="int">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="operator <" qualifiers="operator">
|
||||
<return type="bool">
|
||||
</return>
|
||||
<argument index="0" name="right" type="Vector2">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="operator <=" qualifiers="operator">
|
||||
<return type="bool">
|
||||
</return>
|
||||
<argument index="0" name="right" type="Vector2">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="operator ==" qualifiers="operator">
|
||||
<return type="bool">
|
||||
</return>
|
||||
<argument index="0" name="right" type="Vector2">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="operator >" qualifiers="operator">
|
||||
<return type="bool">
|
||||
</return>
|
||||
<argument index="0" name="right" type="Vector2">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="operator >=" qualifiers="operator">
|
||||
<return type="bool">
|
||||
</return>
|
||||
<argument index="0" name="right" type="Vector2">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="operator []" qualifiers="operator">
|
||||
<return type="float">
|
||||
</return>
|
||||
<argument index="0" name="index" type="int">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="posmod">
|
||||
<return type="Vector2">
|
||||
</return>
|
||||
|
||||
Reference in New Issue
Block a user