FRotator::CompressAxisToShort

Compress a floating point angle into a word.

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "Math/Rotator.h"

Syntax

static uint16 CompressAxisToShort
(
    float Angle
)

Remarks

Compress a floating point angle into a word.

Returns

The decompressed angle.

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