Zdexby TheHolyOneZ
8,798 structs
Struct

Mathf

: ValueType : Object
UnityEngine.Mathf, UnityEngine.CoreModule 0x0001 (1 B) UnityEngine.CoreModule.dll
0x00x0001

Members 1

OffsetSizeNameTypeFlags
0x04EpsilonfloatPublicStatic+1 flags

Functions 62

SignatureFlagsNativeParams
float GammaToLinearSpace(float value)PublicStatic0x04
float LinearToGammaSpace(float value)PublicStatic0x04
Color CorrelatedColorTemperatureToRGB(float kelvin)PublicStatic0x10
ushort FloatToHalf(float val)PublicStatic0x04
float HalfToFloat(ushort val)PublicStatic0x04
float PerlinNoise(float x, float y)PublicStatic0x04
float Sin(float f)PublicStatic0x04
float Cos(float f)PublicStatic0x04
float Tan(float f)PublicStatic0x04
float Acos(float f)PublicStatic0x04
float Atan(float f)PublicStatic0x04
float Atan2(float y, float x)PublicStatic0x04
float Sqrt(float f)PublicStatic0x04
float Abs(float f)PublicStatic0x04
int Abs(int value)PublicStatic0x04
float Min(float a, float b)PublicStatic0x04
float Min(const float[]& values)PublicStatic0x08
int Min(int a, int b)PublicStatic0x04
float Max(float a, float b)PublicStatic0x04
float Max(const float[]& values)PublicStatic0x08
int Max(int a, int b)PublicStatic0x04
float Pow(float f, float p)PublicStatic0x04
float Exp(float power)PublicStatic0x04
float Log(float f, float p)PublicStatic0x04
float Log(float f)PublicStatic0x04
float Log10(float f)PublicStatic0x04
float Ceil(float f)PublicStatic0x04
float Floor(float f)PublicStatic0x04
float Round(float f)PublicStatic0x04
int CeilToInt(float f)PublicStatic0x04
int FloorToInt(float f)PublicStatic0x04
int RoundToInt(float f)PublicStatic0x04
float Sign(float f)PublicStatic0x04
float Clamp(float value, float min, float max)PublicStatic0x04
int Clamp(int value, int min, int max)PublicStatic0x04
float Clamp01(float value)PublicStatic0x04
float Lerp(float a, float b, float t)PublicStatic0x04
float LerpUnclamped(float a, float b, float t)PublicStatic0x04
float LerpAngle(float a, float b, float t)PublicStatic0x04
float MoveTowards(float current, float target, float maxDelta)PublicStatic0x04
float MoveTowardsAngle(float current, float target, float maxDelta)PublicStatic0x04
float SmoothStep(float from, float to, float t)PublicStatic0x04
bool Approximately(float a, float b)PublicStatic0x04
float SmoothDamp(float current, float target, ref float& currentVelocity, float smoothTime)PublicStatic0x04
float SmoothDamp(float current, float target, ref float& currentVelocity, float smoothTime, float maxSpeed, float deltaTime)PublicStatic0x04
float SmoothDampAngle(float current, float target, ref float& currentVelocity, float smoothTime)PublicStatic0x04
float SmoothDampAngle(float current, float target, ref float& currentVelocity, float smoothTime, float maxSpeed, float deltaTime)PublicStatic0x04
float Repeat(float t, float length)PublicStatic0x04
float PingPong(float t, float length)PublicStatic0x04
float InverseLerp(float a, float b, float value)PublicStatic0x04
float DeltaAngle(float current, float target)PublicStatic0x04
float ClampToFloat(double value)Static+1 flags0x08
int ClampToInt(long value)Static+1 flags0x08
uint ClampToUInt(long value)Static+1 flags0x08
int GetNumberOfDecimalsForMinimumDifference(double minDifference)Static+1 flags0x08
double RoundBasedOnMinimumDifference(double valueToRound, double minDifference)Static+1 flags0x08
double DiscardLeastSignificantDecimal(double v)Static+1 flags0x08
int NextPowerOfTwo(int value)PublicStatic0x04
int ClosestPowerOfTwo(int value)PublicStatic0x04
bool IsPowerOfTwo(int value)PublicStatic0x04
void .cctor()PrivateStatic+1 flags0x00
void CorrelatedColorTemperatureToRGB_Injected(float kelvin, ref Color& ret)PrivateStatic0x10