Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Components/AudioComponent.h |
Include |
#include "Components/AudioComponent.h" |
Source |
/Engine/Source/Runtime/Engine/Private/Components/AudioComponent.cpp |
void AdjustAttenuation
(
const FSoundAttenuationSettings & InAttenuationSettings
)
This function is used to modify the Attenuation Settings on the targeted Audio Component instance. It is worth noting that Attenuation Settings are only passed to new Active Sounds on start, so modified Attenuation data should be set before sound playback.