TRotator::NormalizeAxis

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

Choose your operating system:

Windows

macOS

Linux

References

Module

Core

Header

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

Include

#include "Math/Rotator.h"

Syntax

static T NormalizeAxis
(
    T Angle
)

Remarks

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

Returns

The clamped angle.

Parameters

Parameter

Description

Angle

The Angle to clamp.