ערוך

שתף באמצעות


Matrix4x4.CreateRotationX Method

Definition

Creates a matrix for rotating points around the X axis.

Overloads

CreateRotationX(Single)

Creates a matrix for rotating points around the X axis.

CreateRotationX(Single, Vector3)

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

CreateRotationX(Single)

Source:
Matrix4x4.cs
Source:
Matrix4x4.cs
Source:
Matrix4x4.cs

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

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

Returns

The rotation matrix.

Applies to

CreateRotationX(Single, Vector3)

Source:
Matrix4x4.cs
Source:
Matrix4x4.cs
Source:
Matrix4x4.cs

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

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

centerPoint
Vector3

The center point.

Returns

The rotation matrix.

Applies to