Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Components > API/Runtime/Engine/Components/UAudioComponent
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 |
void AdjustAttenuation
&40;
const FSoundAttenuationSettings & InAttenuationSettings
&41;
Remarks
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.