1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

Add aliases for Vector2/3.limit_length method

This commit is contained in:
RedMser
2025-05-09 14:42:47 +02:00
parent 8f78e7510d
commit 542639de3c
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. 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> </description>
</method> </method>
<method name="limit_length" qualifiers="const" keywords="truncate"> <method name="limit_length" qualifiers="const" keywords="clamp, saturate, truncate">
<return type="Vector2" /> <return type="Vector2" />
<param index="0" name="length" type="float" default="1.0" /> <param index="0" name="length" type="float" default="1.0" />
<description> <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. 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> </description>
</method> </method>
<method name="limit_length" qualifiers="const" keywords="truncate"> <method name="limit_length" qualifiers="const" keywords="clamp, saturate, truncate">
<return type="Vector3" /> <return type="Vector3" />
<param index="0" name="length" type="float" default="1.0" /> <param index="0" name="length" type="float" default="1.0" />
<description> <description>