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 © 2025, BlueBurn. Built on January 04, 2025 using GMDoc.