FNumericUnit::TryParseExpression

Try and parse an expression into a numeric 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

static TValueOrError< FNumericUnit< NumericType >, FText > TryParseExpression
(
    const TCHAR * InExpression,
    EUnit InDefaultUnit,
    const FNumericUnit< NumericType > & InExistingValue
)

Remarks

Try and parse an expression into a numeric 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