FNumericUnit::QuantizeUnitsToBestFit

Quantizes this number to the most appropriate unit for user friendly presentation (e.g. 1000m returns 1km).

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "Math/UnitConversion.h"

Source

/Engine/Source/Runtime/Core/Public/Math/UnitConversion.inl

Syntax

FNumericUnit< NumericType > QuantizeUnitsToBestFit() const

Remarks

Quantizes this number to the most appropriate unit for user friendly presentation (e.g. 1000m returns 1km).

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