to_matrix method

to_matrix(self)

Convert the rotation presented by quaternion to transform matrix.

Returns

The matrix representation of current quaternion.


def to_matrix(self):
    ...

to_matrix(self, translation)

Convert the rotation presented by quaternion to transform matrix.

Returns

The matrix representation of current quaternion.


def to_matrix(self, translation):
    ...
ParameterTypeDescription
translationaspose.threed.utilities.Vector3The translation part of the matrix.

See Also