MathUtilEx.

ToRotationEulerXYZ(Quaternion, Vector3) Method

Summary

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

Syntax

public static void ToRotationEulerXYZ(ref Quaternion rotation, out Vector3 result)

Parameters

Name Type Description
rotation Quaternion The rotation.
result Vector3 Reulting euler rotation, with XYZ order.

Return Value

Type Description
void