ClampUint32 Data Member Function

Clamps the source value to the range specified by the floor and ceiling values.

Prototype

static uint32 ClampUint32( uint32 src, uint32 floor, uint32 ceiling )

Parameters

Parameter Type Parameter Name Documentation
uint32srcThe source value.
uint32floorThe floor value.
uint32ceilingThe ceiling value.

Examples

Copy Text To Clipboard

None published. Please look for an example in the Scenome Scripting Language code base.