Class: FMathUtil
A class that provides math utilities.
Constructors
new FMathUtil()
new FMathUtil():
FMathUtil
Returns
Methods
degreeToRad()
static
degreeToRad(degree
):number
Convert an euler angle to a radian angle.
Parameters
• degree: number
The euler angle to convert.
Returns
number
The radian angle.
Defined in
quaternionToRad()
static
quaternionToRad(quaternion
):FVector3
Convert a value from quaternion to a radian angle.
Parameters
• quaternion: FVector4
The quaternion value to convert.
Returns
FVector3
The radian angle.
Defined in
radToDegree()
static
radToDegree(radian
):number
Convert a radian angle to a euler angle.
Parameters
• radian: number
The radian angle to convert.
Returns
number
The euler angle.