Mathf
UnityObjectLink
Mathf

struct:/TYPE/UnityEngine.Mathf//, can be instantiated with Mathf::deserialize(string)  , where str is a concatenation of all its fields by order with ,/

Parent

UnityObjectLink

Variables
mathf::​deg2rad
static readonly System.Single mathf::deg2rad
mathf::​epsilon
static readonly System.Single mathf::epsilon
mathf::​infinity
static readonly System.Single mathf::infinity
mathf::​negativeinfinity
static readonly System.Single mathf::negativeinfinity
mathf::​pi
static readonly System.Single mathf::pi
mathf::​rad2deg
static readonly System.Single mathf::rad2deg
Functions
mathf::​abs
static System.Single Abs(
System.Single f
)

System.Single f-no documentation

Parameters

f -

Returns

System.Single

mathf::​abs
static System.Int32 Abs(
System.Int32 value
)

System.Int32 value-no documentation

Parameters

value -

Returns

System.Int32

mathf::​acos
static System.Single Acos(
System.Single f
)

System.Single f-no documentation

Parameters

f -

Returns

System.Single

mathf::​approximately
static System.Boolean Approximately(
System.Single a,
System.Single b
)

System.Single a-no documentation

Parameters
a
System.Single

no documentation b -

Returns

System.Boolean

mathf::​asin
static System.Single Asin(
System.Single f
)

System.Single f-no documentation

Parameters

f -

Returns

System.Single

mathf::​atan
static System.Single Atan(
System.Single f
)

System.Single f-no documentation

Parameters

f -

Returns

System.Single

mathf::​atan2
static System.Single Atan2(
System.Single y,
System.Single x
)

System.Single y-no documentation

Parameters
y
System.Single

no documentation x -

Returns

System.Single

mathf::​ceil
static System.Single Ceil(
System.Single f
)

System.Single f-no documentation

Parameters

f -

Returns

System.Single

mathf::​ceiltoint
static System.Int32 CeilToInt(
System.Single f
)

System.Single f-no documentation

Parameters

f -

Returns

System.Int32

mathf::​clamp
static System.Single Clamp(
System.Single value,
System.Single min,
System.Single max
)

System.Single value-no documentation

Parameters
value
System.Single

no documentation

min
System.Single

no documentation max -

Returns

System.Single

mathf::​clamp
static System.Int32 Clamp(
System.Int32 value,
System.Int32 min,
System.Int32 max
)

System.Int32 value-no documentation

Parameters
value
System.Int32

no documentation

min
System.Int32

no documentation max -

Returns

System.Int32

mathf::​clamp01
static System.Single Clamp01(
System.Single value
)

System.Single value-no documentation

Parameters

value -

Returns

System.Single

mathf::​closestpoweroftwo
static System.Int32 ClosestPowerOfTwo(
System.Int32 value
)

System.Int32 value-no documentation

Parameters

value -

Returns

System.Int32

mathf::​correlatedcolortemperaturetorgb
static UnityEngine.Color CorrelatedColorTemperatureToRGB(
System.Single kelvin
)

System.Single kelvin-no documentation

Parameters

kelvin -

Returns

UnityEngine.Color

mathf::​cos
static System.Single Cos(
System.Single f
)

System.Single f-no documentation

Parameters

f -

Returns

System.Single

mathf::​create
static UnityEngine.Mathf Create ()

Constructor replaces new

Returns

UnityEngine.Mathf

mathf::​deltaangle
static System.Single DeltaAngle(
System.Single current,
System.Single target
)

System.Single current-no documentation

Parameters
current
System.Single

no documentation target -

Returns

System.Single

mathf::​deserialize
static UnityEngine.Mathf Deserialize (
string serializedvalue
)

deserialize from string

Parameters
serializedvalue
string

commatextlist of serialized values

Returns

UnityEngine.Mathf

mathf::​exp
static System.Single Exp(
System.Single power
)

System.Single power-no documentation

Parameters

power -

Returns

System.Single

mathf::​floattohalf
static System.UInt16 FloatToHalf(
System.Single val
)

System.Single val-no documentation

Parameters

val -

Returns

System.UInt16

mathf::​floor
static System.Single Floor(
System.Single f
)

System.Single f-no documentation

Parameters

f -

Returns

System.Single

mathf::​floortoint
static System.Int32 FloorToInt(
System.Single f
)

System.Single f-no documentation

Parameters

f -

Returns

System.Int32

mathf::​gamma
static System.Single Gamma(
System.Single value,
System.Single absmax,
System.Single mathf::gamma
)

System.Single value-no documentation

Parameters
value
System.Single

no documentation

absmax
System.Single

no documentation gamma -

Returns

System.Single

mathf::​gammatolinearspace
static System.Single GammaToLinearSpace(
System.Single value
)

System.Single value-no documentation

Parameters

value -

Returns

System.Single

mathf::​halftofloat
static System.Single HalfToFloat(
System.UInt16 val
)

System.UInt16 val-no documentation

Parameters

val -

Returns

System.Single

mathf::​inverselerp
static System.Single InverseLerp(
System.Single a,
System.Single b,
System.Single value
)

System.Single a-no documentation

Parameters
a
System.Single

no documentation

b
System.Single

no documentation value -

Returns

System.Single

mathf::​ispoweroftwo
static System.Boolean IsPowerOfTwo(
System.Int32 value
)

System.Int32 value-no documentation

Parameters

value -

Returns

System.Boolean

mathf::​lerp
static System.Single Lerp(
System.Single a,
System.Single b,
System.Single t
)

System.Single a-no documentation

Parameters
a
System.Single

no documentation

b
System.Single

no documentation t -

Returns

System.Single

mathf::​lerpangle
static System.Single LerpAngle(
System.Single a,
System.Single b,
System.Single t
)

System.Single a-no documentation

Parameters
a
System.Single

no documentation

b
System.Single

no documentation t -

Returns

System.Single

mathf::​lerpunclamped
static System.Single LerpUnclamped(
System.Single a,
System.Single b,
System.Single t
)

System.Single a-no documentation

Parameters
a
System.Single

no documentation

b
System.Single

no documentation t -

Returns

System.Single

mathf::​lineartogammaspace
static System.Single LinearToGammaSpace(
System.Single value
)

System.Single value-no documentation

Parameters

value -

Returns

System.Single

mathf::​log
static System.Single Log(
System.Single f,
System.Single p
)

System.Single f-no documentation

Parameters
f
System.Single

no documentation p -

Returns

System.Single

mathf::​log
static System.Single Log(
System.Single f
)

System.Single f-no documentation

Parameters

f -

Returns

System.Single

mathf::​log10
static System.Single Log10(
System.Single f
)

System.Single f-no documentation

Parameters

f -

Returns

System.Single

mathf::​max
static System.Int32 Max(
System.Int32[] values
)

System.Int32[] values-no documentation

Parameters

values -

Returns

System.Int32

mathf::​max
static System.Single Max(
System.Single[] values
)

System.Single[] values-no documentation

Parameters

values -

Returns

System.Single

mathf::​max
static System.Single Max(
System.Single a,
System.Single b
)

System.Single a-no documentation

Parameters
a
System.Single

no documentation b -

Returns

System.Single

mathf::​max
static System.Int32 Max(
System.Int32 a,
System.Int32 b
)

System.Int32 a-no documentation

Parameters
a
System.Int32

no documentation b -

Returns

System.Int32

mathf::​min
static System.Int32 Min(
System.Int32[] values
)

System.Int32[] values-no documentation

Parameters

values -

Returns

System.Int32

mathf::​min
static System.Single Min(
System.Single a,
System.Single b
)

System.Single a-no documentation

Parameters
a
System.Single

no documentation b -

Returns

System.Single

mathf::​min
static System.Single Min(
System.Single[] values
)

System.Single[] values-no documentation

Parameters

values -

Returns

System.Single

mathf::​min
static System.Int32 Min(
System.Int32 a,
System.Int32 b
)

System.Int32 a-no documentation

Parameters
a
System.Int32

no documentation b -

Returns

System.Int32

mathf::​movetowards
static System.Single MoveTowards(
System.Single current,
System.Single target,
System.Single maxDelta
)

System.Single current-no documentation

Parameters
current
System.Single

no documentation

target
System.Single

no documentation maxDelta -

Returns

System.Single

mathf::​movetowardsangle
static System.Single MoveTowardsAngle(
System.Single current,
System.Single target,
System.Single maxDelta
)

System.Single current-no documentation

Parameters
current
System.Single

no documentation

target
System.Single

no documentation maxDelta -

Returns

System.Single

mathf::​nextpoweroftwo
static System.Int32 NextPowerOfTwo(
System.Int32 value
)

System.Int32 value-no documentation

Parameters

value -

Returns

System.Int32

mathf::​perlinnoise
static System.Single PerlinNoise(
System.Single x,
System.Single y
)

System.Single x-no documentation

Parameters
x
System.Single

no documentation y -

Returns

System.Single

mathf::​pingpong
static System.Single PingPong(
System.Single t,
System.Single length
)

System.Single t-no documentation

Parameters
t
System.Single

no documentation length -

Returns

System.Single

mathf::​pow
static System.Single Pow(
System.Single f,
System.Single p
)

System.Single f-no documentation

Parameters
f
System.Single

no documentation p -

Returns

System.Single

mathf::​repeat
static System.Single Repeat(
System.Single t,
System.Single length
)

System.Single t-no documentation

Parameters
t
System.Single

no documentation length -

Returns

System.Single

mathf::​round
static System.Single Round(
System.Single f
)

System.Single f-no documentation

Parameters

f -

Returns

System.Single

mathf::​roundtoint
static System.Int32 RoundToInt(
System.Single f
)

System.Single f-no documentation

Parameters

f -

Returns

System.Int32

mathf::​sign
static System.Single Sign(
System.Single f
)

System.Single f-no documentation

Parameters

f -

Returns

System.Single

mathf::​sin
static System.Single Sin(
System.Single f
)

System.Single f-no documentation

Parameters

f -

Returns

System.Single

mathf::​smoothstep
static System.Single SmoothStep(
System.Single from,
System.Single to,
System.Single t
)

System.Single from-no documentation

Parameters
from
System.Single

no documentation

to
System.Single

no documentation t -

Returns

System.Single

mathf::​sqrt
static System.Single Sqrt(
System.Single f
)

System.Single f-no documentation

Parameters

f -

Returns

System.Single

mathf::​tan
static System.Single Tan(
System.Single f
)

System.Single f-no documentation

Parameters

f -

Returns

System.Single