Appearance
clamp()
clamp(value: number, min: number, max: number): number
value
number
min
max
Source: math.utils.ts
Clamps a value between an upper and lower bound.
The value to clamp.
The lower bound.
The upper bound.
The clamped value.