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):
...
| Parameter | Type | Description |
|---|---|---|
| translation | aspose.threed.utilities.Vector3 | The translation part of the matrix. |
See Also
- module
aspose.threed.utilities - class
Matrix4 - class
Quaternion