FMath::UnwindRadians

Given a heading which may be outside the +/- PI range, 'unwind' it back into that range.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Math/UnrealMathUtility.h

Include

#include "Math/UnrealMathUtility.h"

Syntax

static float UnwindRadians
(
    float A
)

Remarks

Given a heading which may be outside the +/- PI range, 'unwind' it back into that range.

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