Add keywords to improve search in the class reference

This commit is contained in:
Hugo Locurcio
2024-02-21 18:51:08 +01:00
parent 652438a395
commit f781571d07
83 changed files with 137 additions and 137 deletions

View File

@ -204,7 +204,7 @@
This method is faster than using [method is_equal_approx] with one value as a zero vector.
</description>
</method>
<method name="length" qualifiers="const">
<method name="length" qualifiers="const" keywords="size">
<return type="float" />
<description>
Returns the length (magnitude) of this vector.
@ -217,7 +217,7 @@
This method runs faster than [method length], so prefer it if you need to compare vectors or need the squared distance for some formula.
</description>
</method>
<method name="lerp" qualifiers="const">
<method name="lerp" qualifiers="const" keywords="interpolate">
<return type="Vector3" />
<param index="0" name="to" type="Vector3" />
<param index="1" name="weight" type="float" />
@ -225,7 +225,7 @@
Returns the result of the linear interpolation between this vector and [param to] by amount [param weight]. [param weight] is on the range of [code]0.0[/code] to [code]1.0[/code], representing the amount of interpolation.
</description>
</method>
<method name="limit_length" qualifiers="const">
<method name="limit_length" qualifiers="const" keywords="truncate">
<return type="Vector3" />
<param index="0" name="length" type="float" default="1.0" />
<description>
@ -337,7 +337,7 @@
Returns the signed angle to the given vector, in radians. The sign of the angle is positive in a counter-clockwise direction and negative in a clockwise direction when viewed from the side specified by the [param axis].
</description>
</method>
<method name="slerp" qualifiers="const">
<method name="slerp" qualifiers="const" keywords="interpolate">
<return type="Vector3" />
<param index="0" name="to" type="Vector3" />
<param index="1" name="weight" type="float" />