diff options
Diffstat (limited to 'doc/classes/Vector3i.xml')
-rw-r--r-- | doc/classes/Vector3i.xml | 60 |
1 files changed, 30 insertions, 30 deletions
diff --git a/doc/classes/Vector3i.xml b/doc/classes/Vector3i.xml index ebb518792f..1c2a033f7a 100644 --- a/doc/classes/Vector3i.xml +++ b/doc/classes/Vector3i.xml @@ -22,23 +22,23 @@ </constructor> <constructor name="Vector3i"> <return type="Vector3i" /> - <argument index="0" name="from" type="Vector3i" /> + <param index="0" name="from" type="Vector3i" /> <description> Constructs a [Vector3i] as a copy of the given [Vector3i]. </description> </constructor> <constructor name="Vector3i"> <return type="Vector3i" /> - <argument index="0" name="from" type="Vector3" /> + <param index="0" name="from" type="Vector3" /> <description> Constructs a new [Vector3i] from [Vector3]. The floating point coordinates will be truncated. </description> </constructor> <constructor name="Vector3i"> <return type="Vector3i" /> - <argument index="0" name="x" type="int" /> - <argument index="1" name="y" type="int" /> - <argument index="2" name="z" type="int" /> + <param index="0" name="x" type="int" /> + <param index="1" name="y" type="int" /> + <param index="2" name="z" type="int" /> <description> Returns a [Vector3i] with the given components. </description> @@ -53,10 +53,10 @@ </method> <method name="clamp" qualifiers="const"> <return type="Vector3i" /> - <argument index="0" name="min" type="Vector3i" /> - <argument index="1" name="max" type="Vector3i" /> + <param index="0" name="min" type="Vector3i" /> + <param index="1" name="max" type="Vector3i" /> <description> - Returns a new vector with all components clamped between the components of [code]min[/code] and [code]max[/code], by running [method @GlobalScope.clamp] on each component. + Returns a new vector with all components clamped between the components of [param min] and [param max], by running [method @GlobalScope.clamp] on each component. </description> </method> <method name="length" qualifiers="const"> @@ -140,14 +140,14 @@ <operators> <operator name="operator !="> <return type="bool" /> - <argument index="0" name="right" type="Vector3i" /> + <param index="0" name="right" type="Vector3i" /> <description> Returns [code]true[/code] if the vectors are not equal. </description> </operator> <operator name="operator %"> <return type="Vector3i" /> - <argument index="0" name="right" type="Vector3i" /> + <param index="0" name="right" type="Vector3i" /> <description> Gets the remainder of each component of the [Vector3i] with the components of the given [Vector3i]. This operation uses truncated division, which is often not desired as it does not work well with negative numbers. Consider using [method @GlobalScope.posmod] instead if you want to handle negative numbers. [codeblock] @@ -157,7 +157,7 @@ </operator> <operator name="operator %"> <return type="Vector3i" /> - <argument index="0" name="right" type="int" /> + <param index="0" name="right" type="int" /> <description> Gets the remainder of each component of the [Vector3i] with the the given [int]. This operation uses truncated division, which is often not desired as it does not work well with negative numbers. Consider using [method @GlobalScope.posmod] instead if you want to handle negative numbers. [codeblock] @@ -167,7 +167,7 @@ </operator> <operator name="operator *"> <return type="Vector3i" /> - <argument index="0" name="right" type="Vector3i" /> + <param index="0" name="right" type="Vector3i" /> <description> Multiplies each component of the [Vector3i] by the components of the given [Vector3i]. [codeblock] @@ -177,7 +177,7 @@ </operator> <operator name="operator *"> <return type="Vector3" /> - <argument index="0" name="right" type="float" /> + <param index="0" name="right" type="float" /> <description> Multiplies each component of the [Vector3i] by the given [float]. Returns a [Vector3]. [codeblock] @@ -187,14 +187,14 @@ </operator> <operator name="operator *"> <return type="Vector3i" /> - <argument index="0" name="right" type="int" /> + <param index="0" name="right" type="int" /> <description> Multiplies each component of the [Vector3i] by the given [int]. </description> </operator> <operator name="operator +"> <return type="Vector3i" /> - <argument index="0" name="right" type="Vector3i" /> + <param index="0" name="right" type="Vector3i" /> <description> Adds each component of the [Vector3i] by the components of the given [Vector3i]. [codeblock] @@ -204,7 +204,7 @@ </operator> <operator name="operator -"> <return type="Vector3i" /> - <argument index="0" name="right" type="Vector3i" /> + <param index="0" name="right" type="Vector3i" /> <description> Subtracts each component of the [Vector3i] by the components of the given [Vector3i]. [codeblock] @@ -214,7 +214,7 @@ </operator> <operator name="operator /"> <return type="Vector3i" /> - <argument index="0" name="right" type="Vector3i" /> + <param index="0" name="right" type="Vector3i" /> <description> Divides each component of the [Vector3i] by the components of the given [Vector3i]. [codeblock] @@ -224,7 +224,7 @@ </operator> <operator name="operator /"> <return type="Vector3" /> - <argument index="0" name="right" type="float" /> + <param index="0" name="right" type="float" /> <description> Divides each component of the [Vector3i] by the given [float]. Returns a [Vector3]. [codeblock] @@ -234,51 +234,51 @@ </operator> <operator name="operator /"> <return type="Vector3i" /> - <argument index="0" name="right" type="int" /> + <param index="0" name="right" type="int" /> <description> Divides each component of the [Vector3i] by the given [int]. </description> </operator> <operator name="operator <"> <return type="bool" /> - <argument index="0" name="right" type="Vector3i" /> + <param index="0" name="right" type="Vector3i" /> <description> - Compares two [Vector3i] vectors by first checking if the X value of the left vector is less than the X value of the [code]right[/code] vector. If the X values are exactly equal, then it repeats this check with the Y values of the two vectors, and then with the Z values. This operator is useful for sorting vectors. + Compares two [Vector3i] vectors by first checking if the X value of the left vector is less than the X value of the [param right] vector. If the X values are exactly equal, then it repeats this check with the Y values of the two vectors, and then with the Z values. This operator is useful for sorting vectors. </description> </operator> <operator name="operator <="> <return type="bool" /> - <argument index="0" name="right" type="Vector3i" /> + <param index="0" name="right" type="Vector3i" /> <description> - Compares two [Vector3i] vectors by first checking if the X value of the left vector is less than or equal to the X value of the [code]right[/code] vector. If the X values are exactly equal, then it repeats this check with the Y values of the two vectors, and then with the Z values. This operator is useful for sorting vectors. + Compares two [Vector3i] vectors by first checking if the X value of the left vector is less than or equal to the X value of the [param right] vector. If the X values are exactly equal, then it repeats this check with the Y values of the two vectors, and then with the Z values. This operator is useful for sorting vectors. </description> </operator> <operator name="operator =="> <return type="bool" /> - <argument index="0" name="right" type="Vector3i" /> + <param index="0" name="right" type="Vector3i" /> <description> Returns [code]true[/code] if the vectors are equal. </description> </operator> <operator name="operator >"> <return type="bool" /> - <argument index="0" name="right" type="Vector3i" /> + <param index="0" name="right" type="Vector3i" /> <description> - Compares two [Vector3i] vectors by first checking if the X value of the left vector is greater than the X value of the [code]right[/code] vector. If the X values are exactly equal, then it repeats this check with the Y values of the two vectors, and then with the Z values. This operator is useful for sorting vectors. + Compares two [Vector3i] vectors by first checking if the X value of the left vector is greater than the X value of the [param right] vector. If the X values are exactly equal, then it repeats this check with the Y values of the two vectors, and then with the Z values. This operator is useful for sorting vectors. </description> </operator> <operator name="operator >="> <return type="bool" /> - <argument index="0" name="right" type="Vector3i" /> + <param index="0" name="right" type="Vector3i" /> <description> - Compares two [Vector3i] vectors by first checking if the X value of the left vector is greater than or equal to the X value of the [code]right[/code] vector. If the X values are exactly equal, then it repeats this check with the Y values of the two vectors, and then with the Z values. This operator is useful for sorting vectors. + Compares two [Vector3i] vectors by first checking if the X value of the left vector is greater than or equal to the X value of the [param right] vector. If the X values are exactly equal, then it repeats this check with the Y values of the two vectors, and then with the Z values. This operator is useful for sorting vectors. </description> </operator> <operator name="operator []"> <return type="int" /> - <argument index="0" name="index" type="int" /> + <param index="0" name="index" type="int" /> <description> - Access vector components using their index. [code]v[0][/code] is equivalent to [code]v.x[/code], [code]v[1][/code] is equivalent to [code]v.y[/code], and [code]v[2][/code] is equivalent to [code]v.z[/code]. + Access vector components using their [param index]. [code]v[0][/code] is equivalent to [code]v.x[/code], [code]v[1][/code] is equivalent to [code]v.y[/code], and [code]v[2][/code] is equivalent to [code]v.z[/code]. </description> </operator> <operator name="operator unary+"> |