diff options
Diffstat (limited to 'doc/classes')
-rw-r--r-- | doc/classes/Vector2.xml | 18 | ||||
-rw-r--r-- | doc/classes/Vector3.xml | 9 |
2 files changed, 18 insertions, 9 deletions
diff --git a/doc/classes/Vector2.xml b/doc/classes/Vector2.xml index 94d4b1a903..9e47ebfaea 100644 --- a/doc/classes/Vector2.xml +++ b/doc/classes/Vector2.xml @@ -110,15 +110,6 @@ Returns the vector with all components rounded up (towards positive infinity). </description> </method> - <method name="clamped" qualifiers="const"> - <return type="Vector2"> - </return> - <argument index="0" name="length" type="float"> - </argument> - <description> - Returns the vector with a maximum length by limiting its length to [code]length[/code]. - </description> - </method> <method name="cross" qualifiers="const"> <return type="float"> </return> @@ -232,6 +223,15 @@ Returns the result of the linear interpolation between this vector and [code]to[/code] by amount [code]weight[/code]. [code]weight[/code] is on the range of 0.0 to 1.0, representing the amount of interpolation. </description> </method> + <method name="limit_length" qualifiers="const"> + <return type="Vector2"> + </return> + <argument index="0" name="length" type="float" default="1.0"> + </argument> + <description> + Returns the vector with a maximum length by limiting its length to [code]length[/code]. + </description> + </method> <method name="move_toward" qualifiers="const"> <return type="Vector2"> </return> diff --git a/doc/classes/Vector3.xml b/doc/classes/Vector3.xml index 0a86369506..94ecce5e31 100644 --- a/doc/classes/Vector3.xml +++ b/doc/classes/Vector3.xml @@ -207,6 +207,15 @@ Returns the result of the linear interpolation between this vector and [code]to[/code] by amount [code]weight[/code]. [code]weight[/code] is on the range of 0.0 to 1.0, representing the amount of interpolation. </description> </method> + <method name="limit_length" qualifiers="const"> + <return type="Vector3"> + </return> + <argument index="0" name="length" type="float" default="1.0"> + </argument> + <description> + Returns the vector with a maximum length by limiting its length to [code]length[/code]. + </description> + </method> <method name="max_axis" qualifiers="const"> <return type="int"> </return> |