UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FCrowdDebug Namespace Reference

Variables

int32 DebugSelectedActors = 0
 
FAutoConsoleVariableRef CVarDebugSelectedActors (TEXT("ai.crowd.DebugSelectedActors"), DebugSelectedActors, TEXT("Enable debug drawing for selected crowd agent.\n0: Disable, 1: Enable"), ECVF_Default)
 
int32 DebugVisLog = 0
 
FAutoConsoleVariableRef CVarDebugVisLog (TEXT("ai.crowd.DebugVisLog"), DebugVisLog, TEXT("Enable detailed vislog recording for all crowd agents.\n0: Disable, 1: Enable"), ECVF_Default)
 
int32 DrawDebugCorners = 1
 
FAutoConsoleVariableRef CVarDrawDebugCorners (TEXT("ai.crowd.DrawDebugCorners"), DrawDebugCorners, TEXT("Draw path corners data, requires ai.crowd.DebugSelectedActors.\n0: Disable, 1: Enable"), ECVF_Default)
 
int32 DrawDebugCollisionSegments = 1
 
FAutoConsoleVariableRef CVarDrawDebugCollisionSegments (TEXT("ai.crowd.DrawDebugCollisionSegments"), DrawDebugCollisionSegments, TEXT("Draw colliding navmesh edges, requires ai.crowd.DebugSelectedActors.\n0: Disable, 1: Enable"), ECVF_Default)
 
int32 DrawDebugPath = 1
 
FAutoConsoleVariableRef CVarDrawDebugPath (TEXT("ai.crowd.DrawDebugPath"), DrawDebugPath, TEXT("Draw active paths, requires ai.crowd.DebugSelectedActors.\n0: Disable, 1: Enable"), ECVF_Default)
 
int32 DrawDebugVelocityObstacles = 1
 
FAutoConsoleVariableRef CVarDrawDebugVelocityObstacles (TEXT("ai.crowd.DrawDebugVelocityObstacles"), DrawDebugVelocityObstacles, TEXT("Draw velocity obstacle sampling, requires ai.crowd.DebugSelectedActors.\n0: Disable, 1: Enable"), ECVF_Default)
 
int32 DrawDebugPathOptimization = 1
 
FAutoConsoleVariableRef CVarDrawDebugPathOptimization (TEXT("ai.crowd.DrawDebugPathOptimization"), DrawDebugPathOptimization, TEXT("Draw path optimization data, requires ai.crowd.DebugSelectedActors.\n0: Disable, 1: Enable"), ECVF_Default)
 
int32 DrawDebugNeighbors = 1
 
FAutoConsoleVariableRef CVarDrawDebugNeighbors (TEXT("ai.crowd.DrawDebugNeighbors"), DrawDebugNeighbors, TEXT("Draw current neighbors data, requires ai.crowd.DebugSelectedActors.\n0: Disable, 1: Enable"), ECVF_Default)
 
int32 DrawDebugBoundaries = 0
 
FAutoConsoleVariableRef CVarDrawDebugBoundaries (TEXT("ai.crowd.DrawDebugBoundaries"), DrawDebugBoundaries, TEXT("Draw shared navmesh boundaries used by crowd simulation.\n0: Disable, 1: Enable"), ECVF_Default)
 
const FVector Offset (0, 0, 20)
 
const FColor Corner (128, 0, 0)
 
const FColor CornerLink (192, 0, 0)
 
const FColor CornerFixed (192, 192, 0)
 
const FColor CollisionRange (192, 0, 128)
 
const FColor CollisionSeg0 (192, 0, 128)
 
const FColor CollisionSeg1 (96, 0, 64)
 
const FColor CollisionSegIgnored (128, 128, 128)
 
const FColor Path (255, 255, 255)
 
const FColor PathSpecial (255, 192, 203)
 
const FColor PathOpt (0, 128, 0)
 
const FColor AvoidanceRange (255, 255, 255)
 
const FColor Neighbor (0, 192, 128)
 
const float LineThickness = 3.f
 

Variable Documentation

◆ AvoidanceRange

const FColor FCrowdDebug::AvoidanceRange(255, 255, 255) ( 255  ,
255  ,
255   
)

◆ CollisionRange

const FColor FCrowdDebug::CollisionRange(192, 0, 128) ( 192  ,
,
128   
)

◆ CollisionSeg0

const FColor FCrowdDebug::CollisionSeg0(192, 0, 128) ( 192  ,
,
128   
)

◆ CollisionSeg1

const FColor FCrowdDebug::CollisionSeg1(96, 0, 64) ( 96  ,
,
64   
)

◆ CollisionSegIgnored

const FColor FCrowdDebug::CollisionSegIgnored(128, 128, 128) ( 128  ,
128  ,
128   
)

◆ Corner

const FColor FCrowdDebug::Corner(128, 0, 0) ( 128  ,
,
 
)

◆ CornerFixed

const FColor FCrowdDebug::CornerFixed(192, 192, 0) ( 192  ,
192  ,
 
)

◆ CornerLink

const FColor FCrowdDebug::CornerLink(192, 0, 0) ( 192  ,
,
 
)

◆ CVarDebugSelectedActors

FAutoConsoleVariableRef FCrowdDebug::CVarDebugSelectedActors(TEXT("ai.crowd.DebugSelectedActors"), DebugSelectedActors, TEXT("Enable debug drawing for selected crowd agent.\n0: Disable, 1: Enable"), ECVF_Default) ( TEXT("ai.crowd.DebugSelectedActors")  ,
DebugSelectedActors  ,
TEXT("Enable debug drawing for selected crowd agent.\n0: Disable, 1: Enable" ,
ECVF_Default   
)

◆ CVarDebugVisLog

FAutoConsoleVariableRef FCrowdDebug::CVarDebugVisLog(TEXT("ai.crowd.DebugVisLog"), DebugVisLog, TEXT("Enable detailed vislog recording for all crowd agents.\n0: Disable, 1: Enable"), ECVF_Default) ( TEXT("ai.crowd.DebugVisLog")  ,
DebugVisLog  ,
TEXT("Enable detailed vislog recording for all crowd agents.\n0: Disable, 1: Enable" ,
ECVF_Default   
)

◆ CVarDrawDebugBoundaries

FAutoConsoleVariableRef FCrowdDebug::CVarDrawDebugBoundaries(TEXT("ai.crowd.DrawDebugBoundaries"), DrawDebugBoundaries, TEXT("Draw shared navmesh boundaries used by crowd simulation.\n0: Disable, 1: Enable"), ECVF_Default) ( TEXT("ai.crowd.DrawDebugBoundaries")  ,
DrawDebugBoundaries  ,
TEXT("Draw shared navmesh boundaries used by crowd simulation.\n0: Disable, 1: Enable" ,
ECVF_Default   
)

◆ CVarDrawDebugCollisionSegments

FAutoConsoleVariableRef FCrowdDebug::CVarDrawDebugCollisionSegments(TEXT("ai.crowd.DrawDebugCollisionSegments"), DrawDebugCollisionSegments, TEXT("Draw colliding navmesh edges, requires ai.crowd.DebugSelectedActors.\n0: Disable, 1: Enable"), ECVF_Default) ( TEXT("ai.crowd.DrawDebugCollisionSegments")  ,
DrawDebugCollisionSegments  ,
TEXT("Draw colliding navmesh edges, requires ai.crowd.DebugSelectedActors.\n0: Disable, 1: Enable" ,
ECVF_Default   
)

◆ CVarDrawDebugCorners

FAutoConsoleVariableRef FCrowdDebug::CVarDrawDebugCorners(TEXT("ai.crowd.DrawDebugCorners"), DrawDebugCorners, TEXT("Draw path corners data, requires ai.crowd.DebugSelectedActors.\n0: Disable, 1: Enable"), ECVF_Default) ( TEXT("ai.crowd.DrawDebugCorners")  ,
DrawDebugCorners  ,
TEXT("Draw path corners data, requires ai.crowd.DebugSelectedActors.\n0: Disable, 1: Enable" ,
ECVF_Default   
)

◆ CVarDrawDebugNeighbors

FAutoConsoleVariableRef FCrowdDebug::CVarDrawDebugNeighbors(TEXT("ai.crowd.DrawDebugNeighbors"), DrawDebugNeighbors, TEXT("Draw current neighbors data, requires ai.crowd.DebugSelectedActors.\n0: Disable, 1: Enable"), ECVF_Default) ( TEXT("ai.crowd.DrawDebugNeighbors")  ,
DrawDebugNeighbors  ,
TEXT("Draw current neighbors data, requires ai.crowd.DebugSelectedActors.\n0: Disable, 1: Enable" ,
ECVF_Default   
)

◆ CVarDrawDebugPath

FAutoConsoleVariableRef FCrowdDebug::CVarDrawDebugPath(TEXT("ai.crowd.DrawDebugPath"), DrawDebugPath, TEXT("Draw active paths, requires ai.crowd.DebugSelectedActors.\n0: Disable, 1: Enable"), ECVF_Default) ( TEXT("ai.crowd.DrawDebugPath")  ,
DrawDebugPath  ,
TEXT("Draw active paths, requires ai.crowd.DebugSelectedActors.\n0: Disable, 1: Enable" ,
ECVF_Default   
)

◆ CVarDrawDebugPathOptimization

FAutoConsoleVariableRef FCrowdDebug::CVarDrawDebugPathOptimization(TEXT("ai.crowd.DrawDebugPathOptimization"), DrawDebugPathOptimization, TEXT("Draw path optimization data, requires ai.crowd.DebugSelectedActors.\n0: Disable, 1: Enable"), ECVF_Default) ( TEXT("ai.crowd.DrawDebugPathOptimization")  ,
DrawDebugPathOptimization  ,
TEXT("Draw path optimization data, requires ai.crowd.DebugSelectedActors.\n0: Disable, 1: Enable" ,
ECVF_Default   
)

◆ CVarDrawDebugVelocityObstacles

FAutoConsoleVariableRef FCrowdDebug::CVarDrawDebugVelocityObstacles(TEXT("ai.crowd.DrawDebugVelocityObstacles"), DrawDebugVelocityObstacles, TEXT("Draw velocity obstacle sampling, requires ai.crowd.DebugSelectedActors.\n0: Disable, 1: Enable"), ECVF_Default) ( TEXT("ai.crowd.DrawDebugVelocityObstacles")  ,
DrawDebugVelocityObstacles  ,
TEXT("Draw velocity obstacle sampling, requires ai.crowd.DebugSelectedActors.\n0: Disable, 1: Enable" ,
ECVF_Default   
)

◆ DebugSelectedActors

int32 FCrowdDebug::DebugSelectedActors = 0

if set, debug information will be displayed for agent selected in editor

◆ DebugVisLog

int32 FCrowdDebug::DebugVisLog = 0

if set, basic debug information will be recorded in VisLog for all agents

◆ DrawDebugBoundaries

int32 FCrowdDebug::DrawDebugBoundaries = 0

debug flags, don't depend on agent

◆ DrawDebugCollisionSegments

int32 FCrowdDebug::DrawDebugCollisionSegments = 1

◆ DrawDebugCorners

int32 FCrowdDebug::DrawDebugCorners = 1

debug flags, works only for selected actor

◆ DrawDebugNeighbors

int32 FCrowdDebug::DrawDebugNeighbors = 1

◆ DrawDebugPath

int32 FCrowdDebug::DrawDebugPath = 1

◆ DrawDebugPathOptimization

int32 FCrowdDebug::DrawDebugPathOptimization = 1

◆ DrawDebugVelocityObstacles

int32 FCrowdDebug::DrawDebugVelocityObstacles = 1

◆ LineThickness

const float FCrowdDebug::LineThickness = 3.f

◆ Neighbor

const FColor FCrowdDebug::Neighbor(0, 192, 128) ( ,
192  ,
128   
)

◆ Offset

const FVector FCrowdDebug::Offset(0, 0, 20) ( ,
,
20   
)

◆ Path

const FColor FCrowdDebug::Path(255, 255, 255) ( 255  ,
255  ,
255   
)

◆ PathOpt

const FColor FCrowdDebug::PathOpt(0, 128, 0) ( ,
128  ,
 
)

◆ PathSpecial

const FColor FCrowdDebug::PathSpecial(255, 192, 203) ( 255  ,
192  ,
203   
)