Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/TQuat
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void ToAxisAndAngle
(
TVector< T >& Axis, |
Get the axis and angle of rotation of this quaternion | Math/Quat.h | |
void ToAxisAndAngle
(
TVector< T >& Axis, |
Math/Quat.h |
ToAxisAndAngle(TVector< T > &, float &)
Warnings Requires this quaternion to be normalized. The rotation returned may not be the shortest version. You may wish to call GetShortestArcWith(FQuat::Identity) first.
Description
- Get the axis and angle of rotation of this quaternion
-
Requires this quaternion to be normalized.
-
The rotation returned may not be the shortest version. You may wish to call GetShortestArcWith(FQuat::Identity) first.
| Name | ToAxisAndAngle |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Math/Quat.h |
| Include Path | #include "Math/Quat.h" |
void ToAxisAndAngle
(
TVector < T > & Axis,
float & Angle
) const
Parameters
| Name | Remarks |
|---|---|
| Axis{out] | Normalized rotation axis of the quaternion |
| Angle{out] | Angle of the quaternion in radians |
ToAxisAndAngle(TVector< T > &, double &)
| Name | ToAxisAndAngle |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Math/Quat.h |
| Include Path | #include "Math/Quat.h" |
void ToAxisAndAngle
(
TVector < T > & Axis,
double & Angle
) const