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

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