Navigation
API > API/Plugins > API/Plugins/TextToSpeech > API/Plugins/TextToSpeech/UTextToSpeechEngineSubsystem
Description
Sets the volume for strings vocalized on a text to speech channel. If the provided channel Id does not exist, nothing will happen.
| Name | SetVolumeOnChannel |
| Type | function |
| Header File | /Engine/Plugins/Experimental/TextToSpeech/Source/TextToSpeech/Public/TextToSpeechEngineSubsystem.h |
| Include Path | #include "TextToSpeechEngineSubsystem.h" |
| Source | /Engine/Plugins/Experimental/TextToSpeech/Source/TextToSpeech/Private/TextToSpeechEngineSubsystem.cpp |
UFUNCTION (BlueprintCallable, Category=TextToSpeech)
void SetVolumeOnChannel
(
UPARAM FName InChannelId,
UPARAM(DisplayName="Volume") float InVolume
)
Parameters
| Name | Remarks |
|---|---|
| InChannelId | The Id for the channel to set for. |
| InVolume | The volume to be set on the channel. The value will be clamped between 0.0f and 1.0f. |