FUnitConversion::UnitFromString

Helper function to find a unit from a string (name or display string)

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 TOptional< EUnit > UnitFromString
(
    const TCHAR * UnitString
)

Remarks

Helper function to find a unit from a string (name or display string)

Helper function to find a unit from a string (name or abbreviation)

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