Method | Description | |
---|---|---|
AlmostEqual ( float a, float b ) : bool | ||
AlmostEqual ( float a, float b, float epsilon ) : bool | ||
LerpTo ( float ¶meter, float value, float t ) : void | ||
Map ( float val, float from1, float to1, float from2, float to2 ) : float | ||
RoundToInt ( float f, MidpointRounding mode = MidpointRounding.AwayFromZero ) : int |
public static AlmostEqual ( float a, float b ) : bool | ||
a | float | |
b | float | |
return | bool |
public static AlmostEqual ( float a, float b, float epsilon ) : bool | ||
a | float | |
b | float | |
epsilon | float | |
return | bool |
public static LerpTo ( float ¶meter, float value, float t ) : void | ||
parameter | float | |
value | float | |
t | float | |
return | void |
public static Map ( float val, float from1, float to1, float from2, float to2 ) : float | ||
val | float | |
from1 | float | |
to1 | float | |
from2 | float | |
to2 | float | |
return | float |
public static RoundToInt ( float f, MidpointRounding mode = MidpointRounding.AwayFromZero ) : int | ||
f | float | |
mode | MidpointRounding | |
return | int |