Navigation
API > API/Plugins > API/Plugins/TextToSpeech
Inheritance Hierarchy
- IModuleInterface
- ITextToSpeechModule
References
| Module | TextToSpeech |
| Header | /Engine/Plugins/Experimental/TextToSpeech/Source/TextToSpeech/Public/TextToSpeechModule.h |
| Include | #include "TextToSpeechModule.h" |
Syntax
class ITextToSpeechModule : public IModuleInterface
Remarks
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
Functions
| Type | Name | Description | |
|---|---|---|---|
| ITextToSpeechModule & | Get () |
Get this module and load it if required. | |
| TSharedPtr< ITextToSpeechFactory > | Returns the user set text to speech factory. | ||
| TSharedPtr< ITextToSpeechFactory > | Returns the factory that creates the platform default text to speech object. | ||
| void | SetCustomFactory
(
const TSharedRef< ITextToSpeechFactory >& InFactory |
Sets a user text to speech factory. |