共用方式為


MathHelper.ToDegrees Method

Converts radians to degrees.

Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

Syntax

public static float ToDegrees (
         float radians
)

Parameters

  • radians
    The angle in radians.

Return Value

The angle in degrees.

See Also

Reference

MathHelper Class
MathHelper Members
Microsoft.Xna.Framework Namespace

Platforms

Xbox 360, Windows XP SP2, Windows Vista