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