Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/TQuat
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 rotation vector corresponding to this quaternion. The direction of the vector represents the rotation axis, and the magnitude the angle in radians.
-
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 | ToRotationVector |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Math/Quat.h |
| Include Path | #include "Math/Quat.h" |
TVector < T > ToRotationVector() const