TRotator::ClampAxis

Clamps an angle to the range of [0, 360).

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 ClampAxis
(
    T Angle
)

Remarks

Clamps an angle to the range of [0, 360).

Returns

The clamped angle.

Parameters

Parameter

Description

Angle

The angle to clamp.