Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Kismet > UGameplayStatics
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Kismet/GameplayStatics.h |
Include | #include "Kismet/GameplayStatics.h" |
Source | /Engine/Source/Runtime/Engine/Private/GameplayStatics.cpp |
static bool AreAnyListenersWithinRange
&40;
const UObject &42; WorldContextObject,
const FVector & Location,
float MaximumRange
&41;
Remarks
Determines if any audio listeners are within range of the specified location
This will always return false if there is no audio device, or the audio device is disabled.
Parameters
Name | Description |
---|---|
Location | The location from which test if a listener is in range |
MaximumRange | The distance away from Location to test if any listener is within |