XMMatrixTranslationFromVector-Funktion (directxmath.h)

Erstellt eine Übersetzungsmatrix aus einem Vektor.

Syntax

XMMATRIX XM_CALLCONV XMMatrixTranslationFromVector(
  [in] FXMVECTOR Offset
) noexcept;

Parameter

[in] Offset

3D-Vektor, der die Übersetzungen entlang der x-Achse, y-Achse und z-Achse beschreibt.

Rückgabewert

Gibt die Übersetzungsmatrix zurück.

Hinweise

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

Weitere Informationen

Matrixfunktionen der DirectXMath-Bibliothek