ai.debug.nav.DirtyAreaAroundPlayer
ai.debug.nav.DirtyAreaAroundPlayer
#Overview
name: ai.debug.nav.DirtyAreaAroundPlayer
This variable is created as a Console Variable (cvar).
- type:
Cmd
- help:
Dirty all tiles in a square area around the local player using provided value as extent (in cm), using 10 meters if not specified.
It is referenced in 1
C++ source file.
#Summary
#References in C++ code
#Callsites
This variable is referenced in the following C++ source code:
#Loc: <Workspace>/Engine/Source/Runtime/NavigationSystem/Private/NavigationSystem.cpp:174
Scope (from outer to inner):
file
namespace FNavigationSystem
Source code excerpt:
static FAutoConsoleCommandWithWorldArgsAndOutputDevice CmdNavDirtyAreaAroundPlayer(
TEXT("ai.debug.nav.DirtyAreaAroundPlayer"),
TEXT("Dirty all tiles in a square area around the local player using provided value as extent (in cm), using 10 meters if not specified."),
FConsoleCommandWithWorldArgsAndOutputDeviceDelegate::CreateLambda([](const TArray<FString>& Args, const UWorld* World, FOutputDevice& OutputDevice)
{
if (const ULocalPlayer* LocalPlayer = World->GetFirstLocalPlayerFromController<ULocalPlayer>())
{
const FVector Center = LocalPlayer->LastViewLocation;