FRotator::CompressAxisToByte

Compresses a floating point angle into a byte.

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "Math/Rotator.h"

Syntax

static uint8 CompressAxisToByte
(
    float Angle
)

Remarks

Compresses a floating point angle into a byte.

Returns

The angle as a byte.

Parameters

Parameter

Description

Angle

The angle to compress.

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