Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/FText
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void RegisterTextGenerator () |
Registers a standard text generator factory function. | Internationalization/Text.h | |
static void RegisterTextGenerator
(
FName TypeID |
Registers a standard text generator factory function. | Internationalization/Text.h | |
static void RegisterTextGenerator
(
FName TypeID, |
Registers a factory function to be used with serialization of text generators within FText. | Internationalization/Text.h |
RegisterTextGenerator()
Description
Registers a standard text generator factory function.
This function can be used if the class has a public static FName member named "TypeID".
| Name | RegisterTextGenerator |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Internationalization/Text.h |
| Include Path | #include "Internationalization/Text.h" |
template<typename T>
static void RegisterTextGenerator()
Parameters
| Name | Remarks |
|---|---|
| T | the text generator class type |
RegisterTextGenerator(FName)
Description
Registers a standard text generator factory function.
| Name | RegisterTextGenerator |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Internationalization/Text.h |
| Include Path | #include "Internationalization/Text.h" |
template<typename T>
static void RegisterTextGenerator
(
FName TypeID
)
Parameters
| Name | Remarks |
|---|---|
| T | the text generator class type |
| TypeID | the name under which to register the factor function |
RegisterTextGenerator(FName, FCreateTextGeneratorDelegate)
Description
Registers a factory function to be used with serialization of text generators within FText.
| Name | RegisterTextGenerator |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Internationalization/Text.h |
| Include Path | #include "Internationalization/Text.h" |
| Source | /Engine/Source/Runtime/Core/Private/Internationalization/Text.cpp |
static void RegisterTextGenerator
(
FName TypeID,
FCreateTextGeneratorDelegate FactoryFunction
)
Parameters
| Name | Remarks |
|---|---|
| TypeID | the name under which to register the factory function. Must match ITextGenerator::GetTypeID(). |
| FactoryFunction | the factory function to create the generator instance |