Kit Documentation
Kit Documentation
Kit Reference
Kit
MathHelper Class
MathHelper Methods
AngleBetween Method
Clamp Method
ClampAngle Method
ClampDeltaAngle Method
GetPositionAtDistance Method
IsInRange Method
Map Method
Rotate Method
RotateAround Method
MathHelper
Map Method
Returns what a
value
would map down to if its minimum and maximum values are changed.
Namespace:
Kit
Assembly:
Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0
Syntax
C#
Copy
public
static
float
Map
(
float
value
,
float
inMin
,
float
inMax
,
float
outMin
,
float
outMax
)
Request Example
View Source
Parameters
value
Type:
System
Single
The value to map.
inMin
Type:
System
Single
The input minimum value.
inMax
Type:
System
Single
The input maximum value.
outMin
Type:
System
Single
The output minimum value.
outMax
Type:
System
Single
The output maximum value.
Return Value
Type:
Single
See Also
Reference
MathHelper Class
Kit Namespace
Send comments on this topic to
agam@frag-games.com