Navigation
API > API/Plugins > API/Plugins/SlateScreenReader > API/Plugins/SlateScreenReader/USlateScreenReaderEngineSubsyste-
References
| Module | SlateScreenReader |
| Header | /Engine/Plugins/Experimental/SlateScreenReader/Source/SlateScreenReader/Public/SlateScreenReaderEngineSubsystem.h |
| Include | #include "SlateScreenReaderEngineSubsystem.h" |
| Source | /Engine/Plugins/Experimental/SlateScreenReader/Source/SlateScreenReader/Private/SlateScreenReaderEngineSubsystem.cpp |
UFUNCTION&40;BlueprintCallable, Category&61;"SlateScreenReader"&41;
FScreenReaderReply SetSpeechVolume
&40;
UPARAM(DisplayName="Screen Reader User Id") int32 InUserId,
UPARAM(DisplayName="Volume") float InVolume
&41;
Remarks
Sets the volume text to speech will be speaking at for a screen reader user. If the provided user Id doesn't exist, nothing will happen. FScreenReaderReply::Handled() is returned if the speech volume is successfully set for the screen reader user. Otherwise, FScreenReaderReply::Unhandled() is returned.
Parameters
| Name | Description |
|---|---|
| InUserId | The user Id of the screen reader user to set the text to speech volume for |
| InVolume | The volume text to speech will be set at for the provided screen reader user. Value will be clamped between 0.0f and 1.0f. |