Matrix4x4.CreateRotationX Matrix4x4.CreateRotationX Matrix4x4.CreateRotationX Matrix4x4.CreateRotationX Method

Definition

Creates a matrix for rotating points around the X axis.

Overloads

CreateRotationX(Single) CreateRotationX(Single) CreateRotationX(Single) CreateRotationX(Single)

Creates a matrix for rotating points around the X axis.

CreateRotationX(Single, Vector3) CreateRotationX(Single, Vector3) CreateRotationX(Single, Vector3) CreateRotationX(Single, Vector3)

Creates a matrix for rotating points around the X axis from a center point.

CreateRotationX(Single) CreateRotationX(Single) CreateRotationX(Single) CreateRotationX(Single)

Creates a matrix for rotating points around the X axis.

public:
 static System::Numerics::Matrix4x4 CreateRotationX(float radians);
public static System.Numerics.Matrix4x4 CreateRotationX (float radians);
static member CreateRotationX : single -> System.Numerics.Matrix4x4
Public Shared Function CreateRotationX (radians As Single) As Matrix4x4

Parameters

radians
Single Single Single Single

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

Returns

The rotation matrix.

CreateRotationX(Single, Vector3) CreateRotationX(Single, Vector3) CreateRotationX(Single, Vector3) CreateRotationX(Single, Vector3)

Creates a matrix for rotating points around the X axis from a center point.

public:
 static System::Numerics::Matrix4x4 CreateRotationX(float radians, System::Numerics::Vector3 centerPoint);
public static System.Numerics.Matrix4x4 CreateRotationX (float radians, System.Numerics.Vector3 centerPoint);
static member CreateRotationX : single * System.Numerics.Vector3 -> System.Numerics.Matrix4x4
Public Shared Function CreateRotationX (radians As Single, centerPoint As Vector3) As Matrix4x4

Parameters

radians
Single Single Single Single

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

centerPoint
Vector3 Vector3 Vector3 Vector3

The center point.

Returns

The rotation matrix.

Applies to