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 GetDistanceSquaredToNearestListener
&40;
const FVector & Location,
float & OutSqDistance
&41; const
Remarks
Sets OutSqDistance to the distance from location the closest listener, depending on calling thread. Returns true if listener position is valid, false if not (in which case, OutSqDistance is undefined).