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

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