Navigation
Unreal Engine C++ API Reference > Runtime > Core > Internationalization > FText > RegisterTextGenerator
References
Module | Core |
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
&40;
FName TypeID,
FCreateTextGeneratorDelegate FactoryFunction
&41;
Remarks
Registers a factory function to be used with serialization of text generators within FText.
Parameters
Name | Description |
---|---|
TypeID | the name under which to register the factory function. Must match ITextGenerator::GetTypeID(). |
FactoryFunction | the factory function to create the generator instance |