Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UAudioComponent
Description
Retrieves the current-time cooked spectral data of the sounds playing on the audio component. Spectral 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 | GetCookedFFTDataForAllPlayingSounds |
| 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")
bool GetCookedFFTDataForAllPlayingSounds
(
TArray < FSoundWaveSpectralDataPerSound > & OutSoundWaveSpectralData
)