共用方式為


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

定義

依據指定的繞 Y 軸旋轉、繞 X 軸旋轉和滾動建立一個旋轉矩陣。

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 軸的旋轉角度,以弧度為單位。

傳回

旋轉矩陣。

適用於