Method | Description | |
---|---|---|
Abs ( float f ) : float |
|
|
Abs ( int value ) : int |
|
|
Acos ( float f ) : float |
|
|
Approximately ( float a, float b ) : bool |
|
|
Asin ( float f ) : float |
|
|
Atan ( float f ) : float |
|
|
Atan2 ( float y, float x ) : float |
|
|
Ceil ( float f ) : float |
|
|
CeilToInt ( float f ) : int |
|
|
Clamp ( float value, float min, float max ) : float |
|
|
Clamp ( int value, int min, int max ) : int |
|
|
Clamp01 ( float value ) : float |
|
|
Cos ( float f ) : float |
|
|
DeltaAngle ( float current, float target ) : float |
|
|
Exp ( float power ) : float |
|
|
Floor ( float f ) : float |
|
|
FloorToInt ( float f ) : int |
|
|
Gamma ( float value, float absmax, float gamma ) : float |
|
|
InverseLerp ( float from, float to, float value ) : float |
|
|
Lerp ( float from, float to, float t ) : float |
faster than unity's lerp
|
|
LerpAngle ( float a, float b, float t ) : float |
|
|
Log ( float f ) : float |
|
|
Log ( float f, float p ) : float |
|
|
Log10 ( float f ) : float |
|
|
Max ( ) : float |
|
|
Max ( float a, float b ) : float |
|
|
Max ( ) : int |
|
|
Max ( int a, int b ) : int |
|
|
Min ( ) : float |
|
|
Min ( float a, float b ) : float |
|
|
Min ( ) : int |
|
|
Min ( int a, int b ) : int |
|
|
MoveTowards ( float current, float target, float maxDelta ) : float |
|
|
MoveTowardsAngle ( float current, float target, float maxDelta ) : float |
|
|
PingPong ( float t, float length ) : float |
|
|
Pow ( float f, float p ) : float |
|
|
Repeat ( float t, float length ) : float |
|
|
Round ( float f ) : float |
|
|
RoundToInt ( float f ) : int |
|
|
Sign ( float f ) : float |
|
|
Sin ( float f ) : float |
|
|
SmoothDamp ( float current, float target, float ¤tVelocity, float smoothTime ) : float |
|
|
SmoothDamp ( float current, float target, float ¤tVelocity, float smoothTime, float maxSpeed ) : float |
|
|
SmoothDamp ( float current, float target, float ¤tVelocity, float smoothTime, float maxSpeed, float deltaTime ) : float |
|
|
SmoothDampAngle ( float current, float target, float ¤tVelocity, float smoothTime ) : float |
|
|
SmoothDampAngle ( float current, float target, float ¤tVelocity, float smoothTime, float maxSpeed ) : float |
|
|
SmoothDampAngle ( float current, float target, float ¤tVelocity, float smoothTime, float maxSpeed, float deltaTime ) : float |
|
|
SmoothStep ( float from, float to, float t ) : float |
|
|
Sqrt ( float f ) : float |
|
|
Tan ( float f ) : float |
|
public static Approximately ( float a, float b ) : bool | ||
a | float | |
b | float | |
return | bool |
public static Atan2 ( float y, float x ) : float | ||
y | float | |
x | float | |
return | float |
public static Clamp ( float value, float min, float max ) : float | ||
value | float | |
min | float | |
max | float | |
return | float |
public static Clamp ( int value, int min, int max ) : int | ||
value | int | |
min | int | |
max | int | |
return | int |
public static Clamp01 ( float value ) : float | ||
value | float | |
return | float |
public static DeltaAngle ( float current, float target ) : float | ||
current | float | |
target | float | |
return | float |
public static Gamma ( float value, float absmax, float gamma ) : float | ||
value | float | |
absmax | float | |
gamma | float | |
return | float |
public static InverseLerp ( float from, float to, float value ) : float | ||
from | float | |
to | float | |
value | float | |
return | float |
public static Lerp ( float from, float to, float t ) : float | ||
from | float | |
to | float | |
t | float | |
return | float |
public static LerpAngle ( float a, float b, float t ) : float | ||
a | float | |
b | float | |
t | float | |
return | float |
public static Log ( float f, float p ) : float | ||
f | float | |
p | float | |
return | float |
public static Max ( float a, float b ) : float | ||
a | float | |
b | float | |
return | float |
public static Min ( float a, float b ) : float | ||
a | float | |
b | float | |
return | float |
public static MoveTowards ( float current, float target, float maxDelta ) : float | ||
current | float | |
target | float | |
maxDelta | float | |
return | float |
public static MoveTowardsAngle ( float current, float target, float maxDelta ) : float | ||
current | float | |
target | float | |
maxDelta | float | |
return | float |
public static PingPong ( float t, float length ) : float | ||
t | float | |
length | float | |
return | float |
public static Pow ( float f, float p ) : float | ||
f | float | |
p | float | |
return | float |
public static Repeat ( float t, float length ) : float | ||
t | float | |
length | float | |
return | float |
public static SmoothDamp ( float current, float target, float ¤tVelocity, float smoothTime ) : float | ||
current | float | |
target | float | |
currentVelocity | float | |
smoothTime | float | |
return | float |
public static SmoothDamp ( float current, float target, float ¤tVelocity, float smoothTime, float maxSpeed ) : float | ||
current | float | |
target | float | |
currentVelocity | float | |
smoothTime | float | |
maxSpeed | float | |
return | float |
public static SmoothDamp ( float current, float target, float ¤tVelocity, float smoothTime, float maxSpeed, float deltaTime ) : float | ||
current | float | |
target | float | |
currentVelocity | float | |
smoothTime | float | |
maxSpeed | float | |
deltaTime | float | |
return | float |
public static SmoothDampAngle ( float current, float target, float ¤tVelocity, float smoothTime ) : float | ||
current | float | |
target | float | |
currentVelocity | float | |
smoothTime | float | |
return | float |
public static SmoothDampAngle ( float current, float target, float ¤tVelocity, float smoothTime, float maxSpeed ) : float | ||
current | float | |
target | float | |
currentVelocity | float | |
smoothTime | float | |
maxSpeed | float | |
return | float |
public static SmoothDampAngle ( float current, float target, float ¤tVelocity, float smoothTime, float maxSpeed, float deltaTime ) : float | ||
current | float | |
target | float | |
currentVelocity | float | |
smoothTime | float | |
maxSpeed | float | |
deltaTime | float | |
return | float |
public static SmoothStep ( float from, float to, float t ) : float | ||
from | float | |
to | float | |
t | float | |
return | float |