次の方法で共有


XMMatrixRotationQuaternion 関数 (directxmath.h)

四元数から回転行列を作成します。

構文

XMMATRIX XM_CALLCONV XMMatrixRotationQuaternion(
  [in] FXMVECTOR Quaternion
) noexcept;

パラメーター

[in] Quaternion

回転を定義する四元数。

戻り値

回転行列を返します。

注釈

プラットフォームの要件

Windows 8用のWindows SDKを含む Microsoft Visual Studio 2010 または Microsoft Visual Studio 2012。 Win32 デスクトップ アプリ、Windows ストア アプリ、Windows Phone 8 アプリでサポートされます。

要件

要件
対象プラットフォーム Windows
ヘッダー directxmath.h

こちらもご覧ください

DirectXMath ライブラリマトリックス関数