Home
Giro3D framework
Piero application
Getting started with Giro3D
Giro3D examples
API documentation
Version v0.41.0
GitLab
Giro3D API (v0.41.0)
external
three
MathUtils
clamp
Function clamp
clamp
(
value
,
min
,
max
)
:
number
Clamps the x to be between a and b.
Parameters
value
:
number
Value to be clamped.
min
:
number
Minimum value.
max
:
number
Maximum value.
Returns
number
Settings
Member Visibility
Protected
Inherited
External
Giro3D API (v0.41.0)
Loading...
Clamps the x to be between a and b.