UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
GameplayDebuggerCategory_Navmesh.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#include "CoreMinimal.h"
6
7#if WITH_GAMEPLAY_DEBUGGER_MENU
10
13
15{
16public:
18
19 AIMODULE_API virtual void CollectData(APlayerController* OwnerPC, AActor* DebugActor) override;
23
24 static TSharedRef<FGameplayDebuggerCategory> MakeInstance();
25
26protected:
27
28 void CycleNavData();
31
34 AIMODULE_API virtual void CollectNavigationData(const UNavigationSystemV1* NavSys, const ANavigationData* NavData, const APawn* RefPawn);
38
39 struct FRepData
40 {
41 void Serialize(FArchive& Ar);
42
43 FString NavDataName;
45 FString SupportedAgents;
51 bool bCanChangeReference = false;
52 bool bCanCycleNavigationData = false;
53 bool bIsUsingPlayerActor = false;
54 bool bReferenceTooFarFromNavData = false;
55 bool bIsNavBuildLocked = false;
56 bool bIsNavOctreeLocked = false;
58 };
59
61 FRepData DataPack;
62
63 enum class EActorReferenceMode : uint8
64 {
67 DebugActor
68 };
69 EActorReferenceMode ActorReferenceMode = EActorReferenceMode::DebugActor;
70
72 bool bSwitchToNextNavigationData = false;
76};
77
78#endif // WITH_GAMEPLAY_DEBUGGER_MENU
@ INDEX_NONE
Definition CoreMiscDefines.h:150
FPlatformTypes::int32 int32
A 32-bit signed integer.
Definition Platform.h:1125
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
uint8_t uint8
Definition binka_ue_file_header.h:8
Definition Actor.h:257
Definition NavigationData.h:547
Definition PlayerController.h:261
Definition Archive.h:1208
Definition DebugRenderSceneProxy.h:41
Definition GameplayDebuggerTypes.h:30
Definition GameplayDebuggerCategory.h:49
virtual GAMEPLAYDEBUGGER_API void CollectData(APlayerController *OwnerPC, AActor *DebugActor)
Definition GameplayDebuggerCategory.cpp:29
virtual GAMEPLAYDEBUGGER_API FDebugRenderSceneProxy * CreateDebugSceneProxy(const UPrimitiveComponent *InComponent, FDebugDrawDelegateHelper *&OutDelegateHelper)
Definition GameplayDebuggerCategory.cpp:39
virtual GAMEPLAYDEBUGGER_API void DrawData(APlayerController *OwnerPC, FGameplayDebuggerCanvasContext &CanvasContext)
Definition GameplayDebuggerCategory.cpp:34
virtual GAMEPLAYDEBUGGER_API void OnDataPackReplicated(int32 DataPackId)
Definition GameplayDebuggerCategory.cpp:46
Definition Array.h:670
Definition SharedPointer.h:153
Definition NavigationSystem.h:296
constexpr FVector InvalidLocation
Definition NavigationTypes.h:47
Definition DebugRenderSceneProxy.h:434
Definition NavMeshRenderingComponent.h:54
Definition Optional.h:131
Definition WeakObjectPtrTemplates.h:25