XMVector2TransformNormal 関数 (directxmath.h)

指定した行列によって 2D ベクトル法線を変換します。

構文

XMVECTOR XM_CALLCONV XMVector2TransformNormal(
  [in] FXMVECTOR V,
  [in] FXMMATRIX M
) noexcept;

パラメーター

[in] V

2D 法線ベクトル。

[in] M

変換マトリックス。

戻り値

変換されたベクターを返します。

解説

XMVector2TransformNormal では、入力変換マトリックスの行 0 と 1 を使用して回転とスケーリングを行います。 行 2 と行 3 は無視されます。

プラットフォームの要件

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

要件

   
対象プラットフォーム Windows
ヘッダー directxmath.h (DirectXMath.h を含む)

関連項目

DirectXMath ライブラリ 2D ベクター変換関数

XMVector2TransformNormalStream