MathUtilEx.

ToQuaternion(Vector3) Method

Summary

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

Syntax

public static Quaternion ToQuaternion(this Vector3 rotationEulerXYZ)

Parameters

Name Type Description
rotationEulerXYZ Vector3 The euler rotation, with XYZ order.

Return Value

Type Description
Quaternion Resulting quaternion rotation