| MathExClamp Method (Int32, Int32, Int32) |
Clamps a value between a minimum and maximum value.
Namespace:
System
Assembly:
Cauldron (in Cauldron.dll) Version: 3.2.0.1 (3.2.0.1)
Syntax Parameters
- value
- Type: SystemInt32
The value to clamp - min
- Type: SystemInt32
The minimum value the parameter value can have - max
- Type: SystemInt32
The maximum value the parameter value can have
Return Value
Type:
Int32The clamped value
See Also