FField::GetMetaDataText

A dynamically sizeable string.

Choose your operating system:

Windows

macOS

Linux

References

Module

CoreUObject

Header

/Engine/Source/Runtime/CoreUObject/Public/UObject/Field.h

Include

#include "UObject/Field.h"

Source

/Engine/Source/Runtime/CoreUObject/Private/UObject/Field.cpp

Syntax

const FText GetMetaDataText
(
    const FName & MetaDataKey,
    const FString LocalizationNamespace,
    const FString LocalizationKey
) const

Remarks

A dynamically sizeable string. When dealing with UTF-8 literals, the following advice is recommended:

  • Do not use the u8"..." prefix (gives the wrong array type until C++20).

  • Use UTF8TEXT("...") for array literals (type is const UTF8CHAR[n]).

  • Use "..."_U8SV for string view literals (type is FUtf8StringView).

  • Use or escape sequences rather than to specify Unicode code points.

See Also