Windows apps
Collapse the table of content
Expand the table of content

Matrix4x4::CreateRotationX Method (Single)

Creates a matrix for rotating points around the X axis.

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

public:
static Matrix4x4 CreateRotationX(
	float radians
)

Parameters

radians
Type: System::Single

The amount, in radians, by which to rotate around the X axis.

Return Value

Type: System.Numerics::Matrix4x4
The rotation matrix.
Show:
© 2017 Microsoft