Builds a transformation matrix.
XMMATRIX XMMatrixTransformation(
XMVECTOR ScalingOrigin,
XMVECTOR ScalingOrientationQuaternion,
XMVECTOR Scaling,
GXMVECTOR RotationOrigin,
XMVECTOR RotationQuaternion,
XMVECTOR Translation
)
ScalingOrigin
Type: XMVECTOR
3D vector describing the center of the scaling.
ScalingOrientationQuaternion
Type: XMVECTOR
Quaternion describing the orientation of the scaling.
Scaling
Type: XMVECTOR
3D vector containing the scaling factors for the x-axis, y-axis, and z-axis.
RotationOrigin
Type: GXMVECTOR
3D vector describing the center of the rotation.
RotationQuaternion
Type: XMVECTOR
Quaternion describing the rotation around the origin indicated by RotationOrigin.
Translation
Type: XMVECTOR
3D vector describing the translations along the x-axis, y-axis, and z-axis.
Type: XMMATRIX
Returns the transformation matrix.
Header: Declared in directxmath.h.