TRotator::CompressAxisToByte

Compresses a floating point angle into a byte.

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

Remarks

Compresses a floating point angle into a byte.

Returns

The angle as a byte.

Parameters

Parameter

Description

Angle

The angle to compress.