Navigation
Unreal Engine C++ API Reference > Runtime > Engine > FAudioDevice
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Public/AudioDevice.h |
Include | #include "AudioDevice.h" |
Source | /Engine/Source/Runtime/Engine/Private/AudioDevice.cpp |
void GetMaxDistanceAndFocusFactor
&40;
USoundBase &42; Sound,
const UWorld &42; World,
const FVector & Location,
const FSoundAttenuationSettings &42; AttenuationSettingsToApply,
float & OutMaxDistance,
float & OutFocusFactor
&41;
Remarks
Gets the max distance and focus factor of a sound.