Kit Documentation
Kit Documentation
Kit Reference
Kit
MathHelper Class
MathHelper Methods
Clamp Method
Clamp Method (Int32, Int32, Int32)
Clamp Method (Single, Single, Single)
MathHelper
Clamp Method (Single, Single, Single)
Limits a number between two other numbers.
Namespace:
Kit
Assembly:
Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0
Syntax
C#
Copy
public
static
float
Clamp
(
float
value
,
float
from
,
float
to
)
Request Example
View Source
Parameters
value
Type:
System
Single
from
Type:
System
Single
to
Type:
System
Single
Return Value
Type:
Single
See Also
Reference
MathHelper Class
Clamp Overload
Kit Namespace
Send comments on this topic to
agam@frag-games.com