1
0
mirror of https://github.com/godotengine/godot.git synced 2025-12-31 18:41:20 +00:00

Merge pull request #106205 from RedMser/limit-length-discoverability

Doc: Add search keywords for `Vector2/3.limit_length` method
This commit is contained in:
Thaddeus Crews
2025-05-09 11:29:24 -05:00
2 changed files with 2 additions and 2 deletions

View File

@@ -267,7 +267,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" keywords="truncate">
<method name="limit_length" qualifiers="const" keywords="clamp, saturate, truncate">
<return type="Vector2" />
<param index="0" name="length" type="float" default="1.0" />
<description>

View File

@@ -235,7 +235,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" keywords="truncate">
<method name="limit_length" qualifiers="const" keywords="clamp, saturate, truncate">
<return type="Vector3" />
<param index="0" name="length" type="float" default="1.0" />
<description>