Builds a 2D transformation matrix in the xy plane.
XMMATRIX XMMatrixTransformation2D(
XMVECTOR ScalingOrigin,
float ScalingOrientation,
XMVECTOR Scaling,
XMVECTOR RotationOrigin,
float Rotation,
GXMVECTOR Translation
)
ScalingOrigin
Type: XMVECTOR
2D vector describing the center of the scaling.
ScalingOrientation
Type: float
Scaling rotation factor.
Scaling
Type: XMVECTOR
2D vector containing the scaling factors for the x-axis and y-axis.
RotationOrigin
Type: XMVECTOR
2D vector describing the center of the rotation.
Rotation
Type: float
Angle of rotation, in radians.
Translation
Type: GXMVECTOR
2D vector describing the translation.
Type: XMMATRIX
Returns the transformation matrix.
Header: Declared in directxmath.h.