Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/TQuat
Warnings * assumes normalized quaternion and twist axis
Description
Get the twist angle (in radians) for a specified axis
assumes normalized quaternion and twist axis
| Name | GetTwistAngle |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Math/Quat.h |
| Include Path | #include "Math/Quat.h" |
| Source | /Engine/Source/Runtime/Core/Private/Math/UnrealMath.cpp |
T GetTwistAngle
(
const TVector < T > & TwistAxis
) const
Twist angle (in radians)
Parameters
| Name | Remarks |
|---|---|
| TwistAxis | Axis to use for decomposition |