Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Math > API/Runtime/Core/Math/TQuat > API/Runtime/Core/Math/TQuat/ToAxisAndAngle
Warnings * Requires this quaternion to be normalized.
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Math/Quat.h |
| Include | #include "Math/Quat.h" |
void ToAxisAndAngle
&40;
TVector< T > & Axis,
double & Angle
&41; const
Remarks
- Get the axis and angle of rotation of this quaternion
-
Requires this quaternion to be normalized.
Parameters
| Name | Description |
|---|---|
| Axis{out] | Normalized rotation axis of the quaternion |
| Angle{out] | Angle of the quaternion in radians |