Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/Core/Public/Internationalization/Text.h |
Include |
#include "Internationalization/Text.h" |
Source |
/Engine/Source/Runtime/Core/Private/Internationalization/Text.cpp |
static void RegisterTextGenerator
(
FName TypeID,
FCreateTextGeneratorDelegate FactoryFunction
)
Registers a factory function to be used with serialization of text generators within FText.
Parameter |
Description |
---|---|
TypeID |
the name under which to register the factory function. Must match ITextGenerator::GetTypeID(). |
FactoryFunction |
the factory function to create the generator instance |