Matrix3x2::CreateRotation Method (Single, Vector2)

Creates a rotation matrix using the specified rotation in radians and a center point.

Namespace:  System.Numerics
Assembly:  System.Numerics.Vectors (in System.Numerics.Vectors.dll)

public:
static Matrix3x2 CreateRotation(
	float radians, 
	Vector2 centerPoint
)

Parameters

radians
Type: System::Single

The amount of rotation, in radians.

centerPoint
Type: System.Numerics::Vector2

The center point.

Return Value

Type: System.Numerics::Matrix3x2
The rotation matrix.
Show: