Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UAudioComponent
Description
Retrieves the current-time amplitude envelope data of the sounds playing on the 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.
| Name | GetCookedEnvelopeDataForAllPlayingSounds |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Components/AudioComponent.h |
| Include Path | #include "Components/AudioComponent.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Components/AudioComponent.cpp |
UFUNCTION (BlueprintCallable, Category="Audio|Components|Audio",
DisplayName="Get Cooked Amplitude Envelope Data For All Playing Sounds")
bool GetCookedEnvelopeDataForAllPlayingSounds
(
TArray < FSoundWaveEnvelopeDataPerSound > & OutEnvelopeData
)