Matrix4x4.CreateRotationY 方法 
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
创建用于围绕 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.Matrix4x4Public 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.Matrix4x4Public Shared Function CreateRotationY (radians As Single, centerPoint As Vector3) As Matrix4x4参数
- radians
- Single
要围绕 Y 轴旋转的量(以弧度表示)。
- centerPoint
- Vector3
中心点。
返回
旋转矩阵。