Méthode | 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 | |
Résultat | bool |
public static AlmostEqual ( float a, float b, float epsilon ) : bool | ||
a | float | |
b | float | |
epsilon | float | |
Résultat | bool |
public static LerpTo ( float ¶meter, float value, float t ) : void | ||
parameter | float | |
value | float | |
t | float | |
Résultat | 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 | |
Résultat | float |
public static RoundToInt ( float f, MidpointRounding mode = MidpointRounding.AwayFromZero ) : int | ||
f | float | |
mode | MidpointRounding | |
Résultat | int |