Returns a new color with all components clamped between the components of [code]min[/code] and [code]max[/code], by running [method @GlobalScope.clamp] on each component.
Returns the vector with all components rounded up (towards positive infinity).
</description>
</method>
<methodname="clamp"qualifiers="const">
<returntype="Vector2">
</return>
<argumentindex="0"name="min"type="Vector2">
</argument>
<argumentindex="1"name="max"type="Vector2">
</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.
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.
Returns a new vector with all components rounded up (towards positive infinity).
</description>
</method>
<methodname="clamp"qualifiers="const">
<returntype="Vector3">
</return>
<argumentindex="0"name="min"type="Vector3">
</argument>
<argumentindex="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.
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.