FQuat::GetTwistAngle

Get the twist angle (in radians) for a specified axis

Windows
MacOS
Linux

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

Syntax

float GetTwistAngle
(
    const FVector & TwistAxis
) const

Remarks

Get the twist angle (in radians) for a specified axis

assumes normalized quaternion and twist axis

Returns

Twist angle (in radians)

Parameters

Parameter

Description

TwistAxis

Axis to use for decomposition

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss