FAudioDevice::FindClosestListenerIndex

Returns the index of the listener closest to the given sound transform

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

static int32 FindClosestListenerIndex
(
    const FTransform & SoundTransform,
    const TArray< FListener > & InListeners
)

Remarks

Returns the index of the listener closest to the given sound transform

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