FMath::Quantize8SignedByte

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "Math/UnrealMathUtility.h"

Syntax

static uint8 Quantize8SignedByte
(
    float x
)

Returns

0..255

Parameters

Parameter

Description

x

assumed to be in this range: -1..1

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