UAudioComponent::GetCookedFFTDataForAllPlayingSounds

Retrieves the current-time cooked spectral 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 GetCookedFFTDataForAllPlayingSounds
(
    TArray< FSoundWaveSpectralDataPerSound > & OutSoundWaveSpectralData
)

Remarks

Retrieves the current-time cooked spectral data of the sounds playing 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.

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