Mathf.Rad2Deg Manual     Reference     Scripting  
Scripting > Runtime Classes > Mathf
Mathf.Rad2Deg

static var Rad2Deg : float

Description

Radians-to-degrees conversion constant (Read Only).

This is equal to 360 / (PI * 2).

// convert 1 radian to degrees
var rad = 1.0;
var deg = rad * Mathf.Rad2Deg;

See Also: Deg2Rad constant.