FRotator::NormalizeAxis

Clamps an angle to the range of (-180, 180].

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "Math/Rotator.h"

Syntax

static float NormalizeAxis
(
    float Angle
)

Remarks

Clamps an angle to the range of (-180, 180].

Returns

The clamped angle.

Parameters

Parameter

Description

Angle

The Angle to clamp.

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