Documentation
Resources
Community
Manual
Reference
Scripting
Scripting
>
Runtime Classes
>
Mathf
Menu
Overview
Runtime Classes
Attributes
Enumerations
Editor Classes
Enumerations
History
Index
Mathf
All Members
Class Variables
Deg2Rad
Epsilon
Infinity
NegativeInfinity
PI
Rad2Deg
Class Functions
Abs
Acos
Approximately
Asin
Atan
Atan2
Ceil
CeilToInt
Clamp
Clamp01
ClosestPowerOfTwo
Cos
DeltaAngle
Exp
Floor
FloorToInt
InverseLerp
Lerp
LerpAngle
Log
Log10
Max
Min
PingPong
Pow
Repeat
Round
RoundToInt
Sign
Sin
SmoothDamp
SmoothDampAngle
SmoothStep
Sqrt
Tan
Mathf
.DeltaAngle
static
function
DeltaAngle (current :
float
, target :
float
) :
float
Description
Calculates the shortest difference between two given angles.