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 |
bool GetListenerPosition
&40;
int32 ListenerIndex,
FVector & OutPosition,
bool bAllowOverride
&41; const
Remarks
Returns a position from the appropriate listener representation, depending on calling thread. true if successful
Parameters
Name | 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 |