Matrix4x4.CreateRotationX 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.
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
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om