Builds a 2D affine transformation matrix in the xy plane.
XMMATRIX XMMatrixAffineTransformation2D(
XMVECTOR Scaling,
XMVECTOR RotationOrigin,
float Rotation,
XMVECTOR Translation
)
Scaling
Type: XMVECTOR
2D vector of scaling factors for the x-coordinate and y-coordinate.
RotationOrigin
Type: XMVECTOR
2D vector describing the center of rotation.
Rotation
Type: float
Radian angle of rotation.
Translation
Type: XMVECTOR
2D vector translation offsets.
Type: XMMATRIX
Returns the 2D affine transformation matrix.
Header: Declared in directxmath.h.