Matrix4x4.CreateRotationZ 方法

定义

创建用于围绕 Z 轴旋转的矩阵。

重载

CreateRotationZ(Single)

创建用于围绕 Z 轴旋转的矩阵。

CreateRotationZ(Single, Vector3)

创建用于从中心点围绕 Z 轴旋转的矩阵。

CreateRotationZ(Single)

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

创建用于围绕 Z 轴旋转的矩阵。

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

参数

radians
Single

要围绕 Z 轴旋转的量(以弧度表示)。

返回

旋转矩阵。

适用于

CreateRotationZ(Single, Vector3)

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

创建用于从中心点围绕 Z 轴旋转的矩阵。

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

参数

radians
Single

要围绕 Z 轴旋转的量(以弧度表示)。

centerPoint
Vector3

中心点。

返回

旋转矩阵。

适用于