Clamps the source value to the range specified by the floor and ceiling values.
static int32 ClampInt32( int32 src, int32 floor, int32 ceiling )
| Parameter Type | Parameter Name | Documentation |
|---|---|---|
| int32 | src | The source value. |
| int32 | floor | The floor value. |
| int32 | ceiling | The ceiling value. |
None published. Please look for an example in the Simdify Scripting Language code base.