Matrix4x4.CreateRotationY 方法

定义

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

重载

CreateRotationY(Single)

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

CreateRotationY(Single, Vector3)

要从中心点围绕 Y 轴旋转的量(以弧度表示)。

CreateRotationY(Single)

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

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

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

参数

radians
Single

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

返回

旋转矩阵。

适用于

CreateRotationY(Single, Vector3)

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

要从中心点围绕 Y 轴旋转的量(以弧度表示)。

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

参数

radians
Single

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

centerPoint
Vector3

中心点。

返回

旋转矩阵。

适用于