Navigation
API > API/Plugins > API/Plugins/TextToSpeech
The module for text to speech. Access this class via the singleton Get() convenience function. Use this class to get and set text to speech factories for creating text to speech objects. A platform default text to speech factory will be created for all allowed platforms for this plugin. Users can subclass from ITextToSpeechFactory and set their own custom factory if desired. Samples: TSharedRef
| Name | ITextToSpeechModule |
| Type | class |
| Header File | /Engine/Plugins/Experimental/TextToSpeech/Source/TextToSpeech/Public/TextToSpeechModule.h |
| Include Path | #include "TextToSpeechModule.h" |
Syntax
class ITextToSpeechModule : public IModuleInterface
Implements Interfaces
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Returns the user set text to speech factory. | TextToSpeechModule.h | ||
| Returns the factory that creates the platform default text to speech object. | TextToSpeechModule.h | ||
void SetCustomFactory
(
const TSharedRef< ITextToSpeechFactory >& InFactory |
Sets a user text to speech factory. | TextToSpeechModule.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static ITextToSpeechModule & Get() |
Get this module and load it if required. | TextToSpeechModule.h |