Navigation
API > API/Runtime > API/Runtime/Core
| Name | FTextBuilder |
| Type | class |
| Header File | /Engine/Source/Runtime/Core/Public/Internationalization/Text.h |
| Include Path | #include "Internationalization/Text.h" |
Syntax
class FTextBuilder
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| IndentCount | int32 | Internationalization/Text.h | ||
| Lines | TArray< FText > | Internationalization/Text.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AppendLine () |
Append an empty line to the builder, indented by the running indentation of the builder. | Internationalization/Text.h | |
void AppendLine
(
const FText& Text |
Append the given text line to the builder, indented by the running indentation of the builder. | Internationalization/Text.h | |
void AppendLine
(
const FString& String |
Append the given string line to the builder, indented by the running indentation of the builder. | Internationalization/Text.h | |
void AppendLine
(
const FName& Name |
Append the given name line to the builder, indented by the running indentation of the builder. | Internationalization/Text.h | |
void AppendLineFormat
(
const FTextFormat& Pattern, |
Append the given formatted text line to the builder, indented by the running indentation of the builder. | Internationalization/Text.h | |
void AppendLineFormat
(
const FTextFormat& Pattern, |
Append the given formatted text line to the builder, indented by the running indentation of the builder. | Internationalization/Text.h | |
void AppendLineFormat
(
FTextFormat Pattern, |
Append the given formatted text line to the builder, indented by the running indentation of the builder. | Internationalization/Text.h | |
void Clear() |
Clear the builder and reset it to its default state. | Internationalization/Text.h | |
int32 GetNumLines() |
Returns the number of lines. | Internationalization/Text.h | |
void Indent() |
Increase the running indentation of the builder. | Internationalization/Text.h | |
bool IsEmpty() |
Check to see if the builder has any data. | Internationalization/Text.h | |
FText ToText() |
Build the current set of input into a FText. | Internationalization/Text.h | |
void Unindent() |
Decrease the running indentation of the builder. | Internationalization/Text.h |