FText::RegisterTextGenerator

Syntax

static void RegisterTextGenerator
(
    FName TypeID,
    FCreateTextGeneratorDelegate FactoryFunction
)

Remarks

Registers a factory function to be used with serialization of text generators within FText .

Parameters

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

References

Module

Core

Header

Runtime/Core/Public/Internationalization/Text.h

Source

Runtime/Core/Private/Internationalization/Text.cpp