Метод | Описание | |
---|---|---|
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 | |
Результат | bool |
public static Atan2 ( float y, float x ) : float | ||
y | float | |
x | float | |
Результат | float |
public static CeilToInt ( float f ) : int | ||
f | float | |
Результат | int |
public static Clamp ( float value, float min, float max ) : float | ||
value | float | |
min | float | |
max | float | |
Результат | float |
public static Clamp ( int value, int min, int max ) : int | ||
value | int | |
min | int | |
max | int | |
Результат | int |
public static Clamp01 ( float value ) : float | ||
value | float | |
Результат | float |
public static DeltaAngle ( float current, float target ) : float | ||
current | float | |
target | float | |
Результат | float |
public static Exp ( float power ) : float | ||
power | float | |
Результат | float |
public static FloorToInt ( float f ) : int | ||
f | float | |
Результат | int |
public static Gamma ( float value, float absmax, float gamma ) : float | ||
value | float | |
absmax | float | |
gamma | float | |
Результат | float |
public static InverseLerp ( float from, float to, float value ) : float | ||
from | float | |
to | float | |
value | float | |
Результат | float |
public static Lerp ( float from, float to, float t ) : float | ||
from | float | |
to | float | |
t | float | |
Результат | float |
public static LerpAngle ( float a, float b, float t ) : float | ||
a | float | |
b | float | |
t | float | |
Результат | float |
public static Log ( float f, float p ) : float | ||
f | float | |
p | float | |
Результат | float |
public static Max ( float a, float b ) : float | ||
a | float | |
b | float | |
Результат | float |
public static Max ( int a, int b ) : int | ||
a | int | |
b | int | |
Результат | int |
public static Min ( float a, float b ) : float | ||
a | float | |
b | float | |
Результат | float |
public static Min ( int a, int b ) : int | ||
a | int | |
b | int | |
Результат | int |
public static MoveTowards ( float current, float target, float maxDelta ) : float | ||
current | float | |
target | float | |
maxDelta | float | |
Результат | float |
public static MoveTowardsAngle ( float current, float target, float maxDelta ) : float | ||
current | float | |
target | float | |
maxDelta | float | |
Результат | float |
public static PingPong ( float t, float length ) : float | ||
t | float | |
length | float | |
Результат | float |
public static Pow ( float f, float p ) : float | ||
f | float | |
p | float | |
Результат | float |
public static Repeat ( float t, float length ) : float | ||
t | float | |
length | float | |
Результат | float |
public static RoundToInt ( float f ) : int | ||
f | float | |
Результат | int |
public static SmoothDamp ( float current, float target, float ¤tVelocity, float smoothTime ) : float | ||
current | float | |
target | float | |
currentVelocity | float | |
smoothTime | float | |
Результат | 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 | |
Результат | 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 | |
Результат | float |
public static SmoothDampAngle ( float current, float target, float ¤tVelocity, float smoothTime ) : float | ||
current | float | |
target | float | |
currentVelocity | float | |
smoothTime | float | |
Результат | 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 | |
Результат | 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 | |
Результат | float |
public static SmoothStep ( float from, float to, float t ) : float | ||
from | float | |
to | float | |
t | float | |
Результат | float |