FAudioDevice::GetListenerPosition

Returns a position from the appropriate listener representation, depending on calling thread.

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

bool GetListenerPosition
(
    int32 ListenerIndex,
    FVector & OutPosition,
    bool bAllowOverride
) const

Remarks

Returns a position from the appropriate listener representation, depending on calling thread.

Returns

true if successful

Parameters

Parameter

Description

ListenerIndex

index of the listener or proxy

OutPosition

filled in position of the listener or proxy

bAllowOverride

if true we will use the attenuation override for position, if set

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