UAudioComponent::GetCookedEnvelopeDataForAllPlayingSounds

Retrieves the current-time envelope data of the sounds playing audio component.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Components/AudioComponent.h

Include

#include "Components/AudioComponent.h"

Source

/Engine/Source/Runtime/Engine/Private/Components/AudioComponent.cpp

Syntax

bool GetCookedEnvelopeDataForAllPlayingSounds
(
    TArray< FSoundWaveEnvelopeDataPerSound > & OutEnvelopeData
)

Remarks

Retrieves the current-time envelope data of the sounds playing audio component. Envelope data is not averaged or interpolated. Instead an array of data with all playing sound waves with cooked data is returned. Returns true if there is data and the audio component is playing.

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