Click or drag to resize

MathfDeg2Rad Method

Converts an angle expressed in degrees to radians.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public static float Deg2Rad(
	float deg
)

Parameters

deg
Type: SystemSingle
An angle expressed in degrees.

Return Value

Type: Single
The same angle expressed in radians.
See Also