BBMOD_Vec4.Clamp

A function defined in BBMOD_Vec4.gml

Clamp(_min, _max)

Description

Clamps each component of the vector between corresponding components of _min and _max and returns the result as a new vector.

Arguments

Name Type Description
_min Struct.BBMOD_Vec4 A vector with minimum components.
_max Struct.BBMOD_Vec4 A vector with maximum components.

Returns

Struct.BBMOD_Vec4 The resulting vector.

Do you find this page helpful?

Copyright © 2024, BlueBurn. Built on April 26, 2024 using GMDoc.