Matrix4x4.CreateFromYawPitchRoll(Single, Single, Single) 方法

定义

从指定的绕 Y 轴旋转、绕 X 轴旋转和绕 Z 轴旋转创建旋转矩阵。

public:
 static System::Numerics::Matrix4x4 CreateFromYawPitchRoll(float yaw, float pitch, float roll);
public static System.Numerics.Matrix4x4 CreateFromYawPitchRoll (float yaw, float pitch, float roll);
static member CreateFromYawPitchRoll : single * single * single -> System.Numerics.Matrix4x4
Public Shared Function CreateFromYawPitchRoll (yaw As Single, pitch As Single, roll As Single) As Matrix4x4

参数

yaw
Single

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

pitch
Single

围绕 X 轴的旋转角度(以弧度表示)。

roll
Single

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

返回

旋转矩阵。

适用于