Matrix4x4.CreateFromYawPitchRoll(Single, Single, Single) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
依據指定的繞 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 軸的旋轉角度,以弧度為單位。
傳回
旋轉矩陣。