Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/FText
Description
Format the given list of variadic values as ordered arguments within the given format pattern
You may want to pre-compile your FText pattern into a FTextFormat prior to performing formats within a loop or on a critical path, as this can save CPU cycles, memory, and mutex resources vs re-compiling the pattern for each format call. See FTextFormat for more info. @usage FText::FormatOrdered(LOCTEXT("PlayerNameFmt", "{0} is really cool"), FText::FromString(PlayerName));
| Name | FormatOrdered |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Internationalization/Text.h |
| Include Path | #include "Internationalization/Text.h" |
template<typename... TArguments>
static FText FormatOrdered
(
FTextFormat Fmt,
TArguments &&... Args
)
The formatted FText
Parameters
| Name | Remarks |
|---|---|
| Fmt | The format pattern to use |
| Args | A variadic list of values to inject into the format pattern |