Navigation
API > API/Runtime > API/Runtime/Engine > API/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
(
USoundBase * Sound,
const UWorld * World,
const FVector & Location,
const FSoundAttenuationSettings * AttenuationSettingsToApply,
float & OutMaxDistance,
float & OutFocusFactor
)
Remarks
Gets the max distance and focus factor of a sound.