Clamp(Single,Single,Single) Method
In This Topic
Clamps the specified value.
Syntax
'Declaration
Public Overloads Shared Function Clamp( _
ByVal As System.Single, _
ByVal As System.Single, _
ByVal As System.Single _
) As System.Single
public static System.float Clamp(
System.float ,
System.float ,
System.float
)
Parameters
- value
- The value.
- min
- The min.
- max
- The max.
Return Value
The result of clamping a value between min and max
See Also