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

定义

从给定的绕 Y 轴旋转、绕 X 轴旋转和绕 Z 轴旋转创建新四元数。

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

参数

yaw
Single

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

pitch
Single

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

roll
Single

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

返回

生成的四元数。

适用于