LearnStudioAPIDatatypesEdit MathfUnity's Mathf DocumentationPropertiesPInumberUnity's Mathf.PI DocumentationInfinitynumberUnity's Mathf.Infinity DocumentationNegativeInfinitynumberUnity's Mathf.NegativeInfinity DocumentationDeg2RadnumberUnity's Mathf.Deg2Rad DocumentationRad2DegnumberUnity's Mathf.Rad2Deg DocumentationEpsilonnumberUnity's Mathf.Epsilon DocumentationMethodsClosestPowerOfTwoUnity's Mathf.ClosestPowerOfTwo DocumentationParametersvaluenumberReturnsnumberIsPowerOfTwoUnity's Mathf.IsPowerOfTwo DocumentationParametersvaluenumberReturnsbooleanNextPowerOfTwoUnity's Mathf.NextPowerOfTwo DocumentationParametersvaluenumberReturnsnumberGammaToLinearSpaceUnity's Mathf.GammaToLinearSpace DocumentationParametersvaluenumberReturnsnumberLinearToGammaSpaceUnity's Mathf.LinearToGammaSpace DocumentationParametersvaluenumberReturnsnumberCorrelatedColorTemperatureToRGBUnity's Mathf.CorrelatedColorTemperatureToRGB DocumentationParameterskelvinnumberReturnsColorPerlinNoiseUnity's Mathf.PerlinNoise DocumentationParametersxnumberynumberReturnsnumberPerlinNoise1DUnity's Mathf.PerlinNoise1D DocumentationParametersxnumberReturnsnumberSinUnity's Mathf.Sin DocumentationParametersfnumberReturnsnumberCosUnity's Mathf.Cos DocumentationParametersfnumberReturnsnumberTanUnity's Mathf.Tan DocumentationParametersfnumberReturnsnumberAsinUnity's Mathf.Asin DocumentationParametersfnumberReturnsnumberAcosUnity's Mathf.Acos DocumentationParametersfnumberReturnsnumberAtanUnity's Mathf.Atan DocumentationParametersfnumberReturnsnumberAtan2Unity's Mathf.Atan2 DocumentationParametersynumberxnumberReturnsnumberSqrtUnity's Mathf.Sqrt DocumentationParametersfnumberReturnsnumberAbsUnity's Mathf.Abs DocumentationParametersfnumberReturnsnumberMinUnity's Mathf.Min DocumentationParametersanumberbnumberReturnsnumberMaxUnity's Mathf.Max DocumentationParametersanumberbnumberReturnsnumberPowUnity's Mathf.Pow DocumentationParametersfnumberpnumberReturnsnumberExpUnity's Mathf.Exp DocumentationParameterspowernumberReturnsnumberLogUnity's Mathf.Log DocumentationParametersfnumberpnumberReturnsnumberLog10Unity's Mathf.Log10 DocumentationParametersfnumberReturnsnumberCeilUnity's Mathf.Ceil DocumentationParametersfnumberReturnsnumberFloorUnity's Mathf.Floor DocumentationParametersfnumberReturnsnumberRoundUnity's Mathf.Round DocumentationParametersfnumberReturnsnumberCeilToIntUnity's Mathf.CeilToInt DocumentationParametersfnumberReturnsnumberFloorToIntUnity's Mathf.FloorToInt DocumentationParametersfnumberReturnsnumberRoundToIntUnity's Mathf.RoundToInt DocumentationParametersfnumberReturnsnumberSignUnity's Mathf.Sign DocumentationParametersfnumberReturnsnumberClampUnity's Mathf.Clamp DocumentationParametersvaluenumberminnumbermaxnumberReturnsnumberClamp01Unity's Mathf.Clamp01 DocumentationParametersvaluenumberReturnsnumberLerpUnity's Mathf.Lerp DocumentationParametersanumberbnumbertnumberReturnsnumberLerpUnclampedUnity's Mathf.LerpUnclamped DocumentationParametersanumberbnumbertnumberReturnsnumberLerpAngleUnity's Mathf.LerpAngle DocumentationParametersanumberbnumbertnumberReturnsnumberMoveTowardsUnity's Mathf.MoveTowards DocumentationParameterscurrentnumbertargetnumbermaxDeltanumberReturnsnumberMoveTowardsAngleUnity's Mathf.MoveTowardsAngle DocumentationParameterscurrentnumbertargetnumbermaxDeltanumberReturnsnumberSmoothStepUnity's Mathf.SmoothStep DocumentationParametersfromnumbertonumbertnumberReturnsnumberGammaUnity's Mathf.Gamma DocumentationParametersvaluenumberabsmaxnumbergammanumberReturnsnumberApproximatelyUnity's Mathf.Approximately DocumentationParametersanumberbnumberReturnsbooleanRepeatUnity's Mathf.Repeat DocumentationParameterstnumberlengthnumberReturnsnumberPingPongUnity's Mathf.PingPong DocumentationParameterstnumberlengthnumberReturnsnumberInverseLerpUnity's Mathf.InverseLerp DocumentationParametersanumberbnumbervaluenumberReturnsnumberDeltaAngleUnity's Mathf.DeltaAngle DocumentationParameterscurrentnumbertargetnumberReturnsnumberToStringUnity's Mathf.ToString DocumentationReturnsstringUpdated 5 months ago