mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Move the docs for constructors and operators out of methods section
This commit is contained in:
@@ -13,28 +13,28 @@
|
||||
<link title="Vector math">https://docs.godotengine.org/en/latest/tutorials/math/vector_math.html</link>
|
||||
<link title="3Blue1Brown Essence of Linear Algebra">https://www.youtube.com/playlist?list=PLZHQObOWTQDPD3MizzM2xVFitgF8hE_ab</link>
|
||||
</tutorials>
|
||||
<methods>
|
||||
<method name="Vector3i" qualifiers="constructor">
|
||||
<constructors>
|
||||
<constructor name="Vector3i">
|
||||
<return type="Vector3i" />
|
||||
<description>
|
||||
Constructs a default-initialized [Vector3i] with all components set to [code]0[/code].
|
||||
</description>
|
||||
</method>
|
||||
<method name="Vector3i" qualifiers="constructor">
|
||||
</constructor>
|
||||
<constructor name="Vector3i">
|
||||
<return type="Vector3i" />
|
||||
<argument index="0" name="from" type="Vector3i" />
|
||||
<description>
|
||||
Constructs a [Vector3i] as a copy of the given [Vector3i].
|
||||
</description>
|
||||
</method>
|
||||
<method name="Vector3i" qualifiers="constructor">
|
||||
</constructor>
|
||||
<constructor name="Vector3i">
|
||||
<return type="Vector3i" />
|
||||
<argument index="0" name="from" type="Vector3" />
|
||||
<description>
|
||||
Constructs a new [Vector3i] from [Vector3]. The floating point coordinates will be truncated.
|
||||
</description>
|
||||
</method>
|
||||
<method name="Vector3i" qualifiers="constructor">
|
||||
</constructor>
|
||||
<constructor name="Vector3i">
|
||||
<return type="Vector3i" />
|
||||
<argument index="0" name="x" type="int" />
|
||||
<argument index="1" name="y" type="int" />
|
||||
@@ -42,7 +42,9 @@
|
||||
<description>
|
||||
Returns a [Vector3i] with the given components.
|
||||
</description>
|
||||
</method>
|
||||
</constructor>
|
||||
</constructors>
|
||||
<methods>
|
||||
<method name="abs" qualifiers="const">
|
||||
<return type="Vector3i" />
|
||||
<description>
|
||||
@@ -68,128 +70,6 @@
|
||||
Returns the axis of the vector's smallest value. See [code]AXIS_*[/code] constants. If all components are equal, this method returns [constant AXIS_Z].
|
||||
</description>
|
||||
</method>
|
||||
<method name="operator !=" qualifiers="operator">
|
||||
<return type="bool" />
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="operator !=" qualifiers="operator">
|
||||
<return type="bool" />
|
||||
<argument index="0" name="right" type="Vector3i" />
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="operator %" qualifiers="operator">
|
||||
<return type="Vector3i" />
|
||||
<argument index="0" name="right" type="Vector3i" />
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="operator %" qualifiers="operator">
|
||||
<return type="Vector3i" />
|
||||
<argument index="0" name="right" type="int" />
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="operator *" qualifiers="operator">
|
||||
<return type="Vector3i" />
|
||||
<argument index="0" name="right" type="Vector3i" />
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="operator *" qualifiers="operator">
|
||||
<return type="Vector3i" />
|
||||
<argument index="0" name="right" type="float" />
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="operator *" qualifiers="operator">
|
||||
<return type="Vector3i" />
|
||||
<argument index="0" name="right" type="int" />
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="operator +" qualifiers="operator">
|
||||
<return type="Vector3i" />
|
||||
<argument index="0" name="right" type="Vector3i" />
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="operator -" qualifiers="operator">
|
||||
<return type="Vector3i" />
|
||||
<argument index="0" name="right" type="Vector3i" />
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="operator /" qualifiers="operator">
|
||||
<return type="Vector3i" />
|
||||
<argument index="0" name="right" type="Vector3i" />
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="operator /" qualifiers="operator">
|
||||
<return type="Vector3i" />
|
||||
<argument index="0" name="right" type="float" />
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="operator /" qualifiers="operator">
|
||||
<return type="Vector3i" />
|
||||
<argument index="0" name="right" type="int" />
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="operator <" qualifiers="operator">
|
||||
<return type="bool" />
|
||||
<argument index="0" name="right" type="Vector3i" />
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="operator <=" qualifiers="operator">
|
||||
<return type="bool" />
|
||||
<argument index="0" name="right" type="Vector3i" />
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="operator ==" qualifiers="operator">
|
||||
<return type="bool" />
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="operator ==" qualifiers="operator">
|
||||
<return type="bool" />
|
||||
<argument index="0" name="right" type="Vector3i" />
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="operator >" qualifiers="operator">
|
||||
<return type="bool" />
|
||||
<argument index="0" name="right" type="Vector3i" />
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="operator >=" qualifiers="operator">
|
||||
<return type="bool" />
|
||||
<argument index="0" name="right" type="Vector3i" />
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="operator []" qualifiers="operator">
|
||||
<return type="int" />
|
||||
<argument index="0" name="index" type="int" />
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="operator unary+" qualifiers="operator">
|
||||
<return type="Vector3i" />
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="operator unary-" qualifiers="operator">
|
||||
<return type="Vector3i" />
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="sign" qualifiers="const">
|
||||
<return type="Vector3i" />
|
||||
<description>
|
||||
@@ -243,4 +123,128 @@
|
||||
Back unit vector. Represents the local direction of back, and the global direction of south.
|
||||
</constant>
|
||||
</constants>
|
||||
<operators>
|
||||
<operator name="operator !=">
|
||||
<return type="bool" />
|
||||
<description>
|
||||
</description>
|
||||
</operator>
|
||||
<operator name="operator !=">
|
||||
<return type="bool" />
|
||||
<argument index="0" name="right" type="Vector3i" />
|
||||
<description>
|
||||
</description>
|
||||
</operator>
|
||||
<operator name="operator %">
|
||||
<return type="Vector3i" />
|
||||
<argument index="0" name="right" type="Vector3i" />
|
||||
<description>
|
||||
</description>
|
||||
</operator>
|
||||
<operator name="operator %">
|
||||
<return type="Vector3i" />
|
||||
<argument index="0" name="right" type="int" />
|
||||
<description>
|
||||
</description>
|
||||
</operator>
|
||||
<operator name="operator *">
|
||||
<return type="Vector3i" />
|
||||
<argument index="0" name="right" type="Vector3i" />
|
||||
<description>
|
||||
</description>
|
||||
</operator>
|
||||
<operator name="operator *">
|
||||
<return type="Vector3i" />
|
||||
<argument index="0" name="right" type="float" />
|
||||
<description>
|
||||
</description>
|
||||
</operator>
|
||||
<operator name="operator *">
|
||||
<return type="Vector3i" />
|
||||
<argument index="0" name="right" type="int" />
|
||||
<description>
|
||||
</description>
|
||||
</operator>
|
||||
<operator name="operator +">
|
||||
<return type="Vector3i" />
|
||||
<argument index="0" name="right" type="Vector3i" />
|
||||
<description>
|
||||
</description>
|
||||
</operator>
|
||||
<operator name="operator -">
|
||||
<return type="Vector3i" />
|
||||
<argument index="0" name="right" type="Vector3i" />
|
||||
<description>
|
||||
</description>
|
||||
</operator>
|
||||
<operator name="operator /">
|
||||
<return type="Vector3i" />
|
||||
<argument index="0" name="right" type="Vector3i" />
|
||||
<description>
|
||||
</description>
|
||||
</operator>
|
||||
<operator name="operator /">
|
||||
<return type="Vector3i" />
|
||||
<argument index="0" name="right" type="float" />
|
||||
<description>
|
||||
</description>
|
||||
</operator>
|
||||
<operator name="operator /">
|
||||
<return type="Vector3i" />
|
||||
<argument index="0" name="right" type="int" />
|
||||
<description>
|
||||
</description>
|
||||
</operator>
|
||||
<operator name="operator <">
|
||||
<return type="bool" />
|
||||
<argument index="0" name="right" type="Vector3i" />
|
||||
<description>
|
||||
</description>
|
||||
</operator>
|
||||
<operator name="operator <=">
|
||||
<return type="bool" />
|
||||
<argument index="0" name="right" type="Vector3i" />
|
||||
<description>
|
||||
</description>
|
||||
</operator>
|
||||
<operator name="operator ==">
|
||||
<return type="bool" />
|
||||
<description>
|
||||
</description>
|
||||
</operator>
|
||||
<operator name="operator ==">
|
||||
<return type="bool" />
|
||||
<argument index="0" name="right" type="Vector3i" />
|
||||
<description>
|
||||
</description>
|
||||
</operator>
|
||||
<operator name="operator >">
|
||||
<return type="bool" />
|
||||
<argument index="0" name="right" type="Vector3i" />
|
||||
<description>
|
||||
</description>
|
||||
</operator>
|
||||
<operator name="operator >=">
|
||||
<return type="bool" />
|
||||
<argument index="0" name="right" type="Vector3i" />
|
||||
<description>
|
||||
</description>
|
||||
</operator>
|
||||
<operator name="operator []">
|
||||
<return type="int" />
|
||||
<argument index="0" name="index" type="int" />
|
||||
<description>
|
||||
</description>
|
||||
</operator>
|
||||
<operator name="operator unary+">
|
||||
<return type="Vector3i" />
|
||||
<description>
|
||||
</description>
|
||||
</operator>
|
||||
<operator name="operator unary-">
|
||||
<return type="Vector3i" />
|
||||
<description>
|
||||
</description>
|
||||
</operator>
|
||||
</operators>
|
||||
</class>
|
||||
|
||||
Reference in New Issue
Block a user