XMMatrixAffineTransformation2D 関数 (directxmath.h)

xy 平面に 2D アフィン変換行列を作成します。

構文

XMMATRIX XM_CALLCONV XMMatrixAffineTransformation2D(
  [in] FXMVECTOR Scaling,
  [in] FXMVECTOR RotationOrigin,
  [in] float     Rotation,
  [in] FXMVECTOR Translation
) noexcept;

パラメーター

[in] Scaling

x 座標と y 座標の拡大縮小係数の 2D ベクトル。

[in] RotationOrigin

回転の中心を記述する 2D ベクトル。

[in] Rotation

回転のラジアン角度。

[in] Translation

2D ベクトル変換オフセット。

戻り値

2D アフィン変換行列を返します。

注釈

プラットフォームの要件

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

要件

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

こちらもご覧ください

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