FUnitConversion::AreUnitsCompatible

Check whether it is possible to convert a number between the two specified units

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/Private/Math/UnitConversion.cpp

Syntax

static bool AreUnitsCompatible
(
    EUnit From,
    EUnit To
)

Remarks

Check whether it is possible to convert a number between the two specified units

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