LM.Clamp(f, min, max)
Version added: before 9.5
Clamps a value to ensure that it is within certain bounds
Arguments:
| Name | Type | Description | Default | Ver |
| f | real | A number to clamp | < 9.5 | |
| min | real | Minimum acceptable value | < 9.5 | |
| max | real | Maximum acceptable value | < 9.5 |
Return value:
real the clamped value
Clamps a value to ensure that it is within certain bounds. This function returns min if value is less than min, max if value is greater than max, and value otherwise.
Search results
Usage of 'Clamp' is found in the following scripts:
Tweak for Curve Exposure (Original Edition) by A.Evseeva
View Code
Tweak for Select Shape (Original Edition) by A.Evseeva
View Code
Modified transform bone tool (Original Edition) by A.Evseeva
View Code
SS - Make Bones (Original Edition) by simplsam
View Code
MR Guides (Original Edition) by eugenebabich
View Code
SS - Virtual Bones (Original Edition) by simplsam
View Code
MR Overlay (Moho 13.5 Edition) by eugenebabich
View Code