FText::FormatNamed

FormatNamed allows you to pass name <-> value pairs to the function to format automatically

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Internationalization/Text.h

Include

#include "Internationalization/Text.h"

Syntax

template<typename... TArguments>
static FText FormatNamed
(
    FTextFormat Fmt,
    TArguments &&... Args
)

Remarks

FormatNamed allows you to pass name <-> value pairs to the function to format automatically

FText::FormatNamed ), TEXT( "PlayerName" ), FText::FromString ) );

Returns

a formatted FText

Parameters

Parameter

Description

Fmt

the format to create from

Args

a variadic list of FString to Value (must be even numbered)

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