FAudioDevice::GetMaxDistanceAndFocusFactor

Gets the max distance and focus factor of a sound.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/AudioDevice.h

Include

#include "AudioDevice.h"

Source

/Engine/Source/Runtime/Engine/Private/AudioDevice.cpp

Syntax

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.

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