Quaternion.ToMatrix

ToMatrix()

Convert the rotation presented by quaternion to transform matrix.

public Matrix4 ToMatrix()

Return Value

The matrix representation of current quaternion.

See Also


ToMatrix(Vector3)

Convert the rotation presented by quaternion to transform matrix.

public Matrix4 ToMatrix(Vector3 translation)
ParameterTypeDescription
translationVector3The translation part of the matrix.

Return Value

The matrix representation of current quaternion.

See Also