Vector2.DegreesToRadians(Vector2) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Converts a given vector from degrees to radians.
public:
static System::Numerics::Vector2 DegreesToRadians(System::Numerics::Vector2 degrees);
public static System.Numerics.Vector2 DegreesToRadians(System.Numerics.Vector2 degrees);
static member DegreesToRadians : System.Numerics.Vector2 -> System.Numerics.Vector2
Public Shared Function DegreesToRadians (degrees As Vector2) As Vector2
Parameters
- degrees
- Vector2
The vector to convert to radians.
Returns
The vector of degrees converted to radians.