ToDegrees(float)
Convert radians to degrees. This operates as deterministically as possible across platforms. See PhysicsMath.ToRadians.
Read time 1 minuteLast updated 11 days ago
Definition
- Type: Method
- Namespace: Unity.U2D.Physics
- Assembly: UnityEngine.PhysicsCore2DModule
public static float ToDegrees(float radians)
Parameters
The radian value to convert to degrees.
Returns
Type | Description |
|---|---|
| float | The radian value converted to degrees. |