UAudioCurveSourceComponent::FadeOut

This function allows designers to call a delayed Stop on an Audio Component instance while applying a volume curve over time.

Windows
MacOS
Linux

Override Hierarchy

UAudioComponent::FadeOut()

UAudioCurveSourceComponent::FadeOut()

References

Module

FacialAnimation

Header

/Engine/Plugins/Editor/FacialAnimation/Source/FacialAnimation/Public/AudioCurveSourceComponent.h

Include

#include "AudioCurveSourceComponent.h"

Source

/Engine/Plugins/Editor/FacialAnimation/Source/FacialAnimation/Private/AudioCurveSourceComponent.cpp

Syntax

virtual void FadeOut
(
    float FadeOutDuration,
    float FadeVolumeLevel,
    const EAudioFaderCurve FadeCurve
)

Remarks

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.

Parameters

Parameter

Description

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

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