diff options
author | Aaron Franke <arnfranke@yahoo.com> | 2021-02-01 00:42:00 -0500 |
---|---|---|
committer | Aaron Franke <arnfranke@yahoo.com> | 2021-06-03 12:04:57 -0400 |
commit | 94bc0bd9193d5e361bbe657d59a492467f129721 (patch) | |
tree | 2adf53e9a8efb9d027961eeb0c5726e47be9bbe1 /doc/classes/Vector3.xml | |
parent | f288a79482ad5272d872fdc84fdb64a228334d8e (diff) | |
download | redot-engine-94bc0bd9193d5e361bbe657d59a492467f129721.tar.gz |
Rename Vector2 clamped to limit_length and add limit_length to Vector3
Diffstat (limited to 'doc/classes/Vector3.xml')
-rw-r--r-- | doc/classes/Vector3.xml | 9 |
1 files changed, 9 insertions, 0 deletions
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> |