Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Math > API/Runtime/Core/Math/TQuat
Warnings * assumes normalized quaternion and twist axis
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Math/Quat.h |
| Include | #include "Math/Quat.h" |
| Source | /Engine/Source/Runtime/Core/Private/Math/UnrealMath.cpp |
void ToSwingTwist
&40;
const TVector< T > & InTwistAxis,
TQuat< T > & OutSwing,
TQuat< T > & OutTwist
&41; const
Remarks
Get the swing and twist decomposition for a specified axis
assumes normalized quaternion and twist axis
Parameters
| Name | Description |
|---|---|
| InTwistAxis | Axis to use for decomposition |
| OutSwing | swing component quaternion |
| OutTwist | Twist component quaternion |