/Engine/Plugins/Experimental/TextToSpeech/Source/TextToSpeech/Public/TextToSpeechModule.h
Returns the user set text to speech factory. This can be null if no user text to speech factory has been set. It's up to the user to check the returned factory is valid.
[TSharedPtr](API\Runtime\Core\Templates\TSharedPtr)< [ITextToSpeechFactory](API\Plugins\TextToSpeech\GenericPlatform\ITextToSpeechFactory) > GetCustomFactory() const