OpenMetaverse Protocol Library Developers API Documentation
Clamp Method (value, min, max)
NamespacesOpenMetaverseUtilsClamp(Int32, Int32, Int32)
Clamp a given value between a range
Declaration Syntax
C#
public 
static 
int 
Clamp(
        
int 
value,
        
int 
min,
        
int 
max
)
Parameters
value ( Int32)
Value to clamp
min ( Int32)
Minimum allowable value
max ( Int32)
Maximum allowable value
Return Value
A value inclusively between lower and upper

Assembly: OpenMetaverseTypes(Module: OpenMetaverseTypes.dll) Version: 0.0.0.0