Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Kismet > API/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 |
UFUNCTION (BlueprintPure, BlueprintCosmetic, Category="Game",
Meta=(WorldContext="WorldContextObject"))
static bool IsAnyLocalPlayerCameraWithinRange
(
const UObject * WorldContextObject,
const FVector & Location,
float MaximumRange
)
Remarks
Determines if any local player controller's camera is within range of the specified location.
This will always return false on dedicated servers.
Parameters
| Name | Description |
|---|---|
| Location | The location from which test range |
| MaximumRange | The distance away from Location to test range |