FTextBuilder

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "Internationalization/Text.h"

Syntax

class FTextBuilder

Functions

Name Description

Public function

void

 

AppendLine()

Append an empty line to the builder, indented by the running indentation of the builder.

Public function

void

 

AppendLine

(
    const FText& Text
)

Append the given text line to the builder, indented by the running indentation of the builder.

Public function

void

 

AppendLine

(
    const FString& String
)

Append the given string line to the builder, indented by the running indentation of the builder.

Public function

void

 

AppendLine

(
    const FName& Name
)

Append the given name line to the builder, indented by the running indentation of the builder.

Public function

void

 

AppendLineFormat

(
    const FTextFormat& Pattern,
    const FFormatNamedArguments& Argum...
)

Append the given formatted text line to the builder, indented by the running indentation of the builder.

Public function

void

 

AppendLineFormat

(
    const FTextFormat& Pattern,
    const FFormatOrderedArguments& Arg...
)

Append the given formatted text line to the builder, indented by the running indentation of the builder.

Public function

void

 

AppendLineFormat

(
    FTextFormat Pattern,
    ArgTypes... Args
)

Append the given formatted text line to the builder, indented by the running indentation of the builder.

Public function

void

 

Clear()

Clear the builder and reset it to its default state.

Public function

void

 

Indent()

Increase the running indentation of the builder.

Public function

bool

 

IsEmpty()

Check to see if the builder has any data.

Public function Const

FText

 

ToText()

Build the current set of input into a FText.

Public function

void

 

Unindent()

Decrease the running indentation of the builder.

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