ai.debug.nav.DrawDistance
ai.debug.nav.DrawDistance
#Overview
name: ai.debug.nav.DrawDistance
This variable is created as a Console Variable (cvar).
- type:
Cmd
- help:
Sets the culling distance used by the navmesh rendering for lines and labels.
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/NavMesh/RecastNavMesh.cpp:238
Scope: file
Source code excerpt:
static FAutoConsoleCommandWithWorldAndArgs CmdNavMeshDrawDistance(
TEXT("ai.debug.nav.DrawDistance"),
TEXT("Sets the culling distance used by the navmesh rendering for lines and labels."),
FConsoleCommandWithWorldAndArgsDelegate::CreateLambda([](const TArray<FString>& Args, UWorld*)
{
const FVector::FReal DrawDistance = (Args.Num() == 0) ? GetDefault<ARecastNavMesh>()->DefaultDrawDistance : FCString::Atof(*Args[0]);
ARecastNavMesh::SetDrawDistance(DrawDistance);
}