IVoice::SetVolumeScale

Sets the volume scale for this voice using linear volume scale.

Windows
MacOS
Linux

References

Module

UnrealAudio

Header

/Engine/Source/Runtime/UnrealAudio/Public/UnrealAudioVoice.h

Include

#include "UnrealAudioVoice.h"

Syntax

EVoiceError::Type SetVolumeScale
(
    float InVolumeLinear,
    float InFadeTimeSec
)

Remarks

Sets the volume scale for this voice using linear volume scale.

Returns

Parameters

Parameter

Description

InVolumeLinear

Linear volume set this voice to.

InFadeTimeSec

The time to take to get to the given volume scale from its current volume scale.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss