Navigation
API > API/Runtime > API/Runtime/AudioMixer > API/Runtime/AudioMixer/USynthComponent
Description
This function allows designers to call a delayed Stop on an Audio Component instance while applying a volume curve over time. Parameters allow designers to indicate the duration of the fade and the curve shape.
| Name | FadeOut |
| Type | function |
| Header File | /Engine/Source/Runtime/AudioMixer/Public/Components/SynthComponent.h |
| Include Path | #include "Components/SynthComponent.h" |
| Source | /Engine/Source/Runtime/AudioMixer/Private/Components/SynthComponent.cpp |
UFUNCTION (BlueprintCallable, Category="Audio|Components|Audio")
void FadeOut
(
float FadeOutDuration,
float FadeVolumeLevel,
const EAudioFaderCurve FadeCurve
) const
Parameters
| Name | Remarks |
|---|---|
| FadeOutDuration | how long it should take to reach the FadeVolumeLevel |
| FadeVolumeLevel | the percentage of the AudioComponents's calculated volume in which to fade to |
| FadeCurve | The curve to use when interpolating between the old and new volume |