Builds a translation matrix from a vector.
XMMATRIX XMMatrixTranslationFromVector(
XMVECTOR Offset
)
Offset
Type: XMVECTOR
3D vector describing the translations along the x-axis, y-axis, and z-axis.
Type: XMMATRIX
Returns the translation matrix.
Header: Declared in directxmath.h.