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
- struct Matrix4
- struct Quaternion
- namespace Aspose.ThreeD.Utilities
- assembly Aspose.3D
ToMatrix(Vector3)
Convert the rotation presented by quaternion to transform matrix.
public Matrix4 ToMatrix(Vector3 translation)
Parameter | Type | Description |
---|---|---|
translation | Vector3 | The translation part of the matrix. |
Return Value
The matrix representation of current quaternion.
See Also
- struct Matrix4
- struct Vector3
- struct Quaternion
- namespace Aspose.ThreeD.Utilities
- assembly Aspose.3D