XMVector2TransformNormal-Funktion (directxmath.h)

Transformiert den 2D-Vektor normal durch die angegebene Matrix.

Syntax

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

Parameter

[in] V

Normalvektor 2D.

[in] M

Transformationsmatrix.

Rückgabewert

Gibt den transformierten Vektor zurück.

Hinweise

XMVector2TransformNormal verwendet die Zeilen 0 und 1 der Eingabetransformationsmatrix für Drehung und Skalierung. Die Zeilen 2 und 3 werden ignoriert.

Plattformanforderungen

Microsoft Visual Studio 2010 oder Microsoft Visual Studio 2012 mit dem Windows SDK für Windows 8. Unterstützt für Win32-Desktop-Apps, Windows Store-Apps und Windows Phone 8-Apps.

Anforderungen

   
Zielplattform Windows
Kopfzeile directxmath.h (DirectXMath.h einschließen)

Weitere Informationen

2D-Vektortransformationsfunktionen der DirectXMath-Bibliothek

XMVector2TransformNormalStream