Browse Source

Add aliases for Vector2/3.limit_length method

RedMser 4 months ago
parent
commit
542639de3c
2 changed files with 2 additions and 2 deletions
  1. 1 1
      doc/classes/Vector2.xml
  2. 1 1
      doc/classes/Vector3.xml

+ 1 - 1
doc/classes/Vector2.xml

@@ -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>

+ 1 - 1
doc/classes/Vector3.xml

@@ -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>