[][src]Function directx_math::XMMatrixTransformation

pub fn XMMatrixTransformation(
    ScalingOrigin: FXMVECTOR,
    ScalingOrientationQuaternion: FXMVECTOR,
    Scaling: FXMVECTOR,
    RotationOrigin: GXMVECTOR,
    RotationQuaternion: HXMVECTOR,
    Translation: HXMVECTOR
) -> XMMATRIX

Builds a transformation matrix.

Parameters

ScalingOrigin 3D vector describing the center of the scaling.

ScalingOrientationQuaternion Quaternion describing the orientation of the scaling.

Scaling 3D vector containing the scaling factors for the x-axis, y-axis, and z-axis.

RotationOrigin 3D vector describing the center of the rotation.

RotationQuaternion Quaternion describing the rotation around the origin indicated by RotationOrigin.

Translation 3D vector describing the translations along the x-axis, y-axis, and z-axis.

Return value

Returns the transformation matrix.

Reference

https://docs.microsoft.com/en-us/windows/win32/api/directxmath/nf-directxmath-XMMatrixTransformation