Summary
Convert rotation Euler angles to a
Quaternion
.
- Namespace
- StrideToolkit
.Mathematics - Containing Type
- MathUtilEx
Syntax
public static void ToQuaternion(ref Vector3 rotationEulerXYZ, out Quaternion result)
Parameters
Name | Type | Description |
---|---|---|
rotationEulerXYZ | Vector3 | The euler rotation, with XYZ order. |
result | Quaternion | Resulting quaternion rotation |
Return Value
Type | Description |
---|---|
void |