FNumericUnit::ConvertTo

Convert this quantity to a different unit

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

TOptional< FNumericUnit< NumericType > > ConvertTo
(
    EUnit ToUnits
) const

Remarks

Convert this quantity to a different unit

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