diff options
author | Aaron Franke <arnfranke@yahoo.com> | 2021-02-01 00:10:52 -0500 |
---|---|---|
committer | Aaron Franke <arnfranke@yahoo.com> | 2021-06-03 12:05:20 -0400 |
commit | 2e13e3ed4a0f94e5f868cc827d1ba6ad4bed8b35 (patch) | |
tree | 8967b0fcf1f1e44732b0f5c28e09dfaa728fdabd /doc/classes/Vector3.xml | |
parent | 94bc0bd9193d5e361bbe657d59a492467f129721 (diff) | |
download | redot-engine-2e13e3ed4a0f94e5f868cc827d1ba6ad4bed8b35.tar.gz |
Allow clamping vectors and colors
Diffstat (limited to 'doc/classes/Vector3.xml')
-rw-r--r-- | doc/classes/Vector3.xml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/classes/Vector3.xml b/doc/classes/Vector3.xml index 94ecce5e31..170bd78067 100644 --- a/doc/classes/Vector3.xml +++ b/doc/classes/Vector3.xml @@ -87,6 +87,17 @@ Returns a new vector with all components rounded up (towards positive infinity). </description> </method> + <method name="clamp" qualifiers="const"> + <return type="Vector3"> + </return> + <argument index="0" name="min" type="Vector3"> + </argument> + <argument index="1" name="max" type="Vector3"> + </argument> + <description> + Returns a new vector with all components clamped between the components of [code]min[/code] and [code]max[/code], by running [method @GlobalScope.clamp] on each component. + </description> + </method> <method name="cross" qualifiers="const"> <return type="Vector3"> </return> |