MathUtilEx.

ToRotationEulerXYZ(Quaternion) Method

Summary

Convert Quaternion to rotation Euler angles.
Namespace
StrideToolkit.Mathematics
Containing Type
MathUtilEx

Syntax

public static Vector3 ToRotationEulerXYZ(this Quaternion rotation)

Parameters

Name Type Description
rotation Quaternion The rotation.

Return Value

Type Description
Vector3 Reulting euler rotation, with XYZ order.