UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
GameplayDebuggerCategory_NavLocalGrid.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
9
11
13{
14public:
16
17 virtual void CollectData(APlayerController* OwnerPC, AActor* DebugActor) override;
20 virtual void OnDataPackReplicated(int32 DataPackId) override;
21
23
24 struct FRepData
25 {
26 struct FGridData
27 {
28 FBox Bounds;
29 float CellSize;
30 int32 NumRows;
31 int32 NumCols;
33 };
34
36 int32 NumSources;
37 int32 VersionNum;
38
39 FRepData() : NumSources(0), VersionNum(0) {}
40 void Serialize(FArchive& Ar);
41 };
42
43 struct FRepAgentData
44 {
47
48 void Serialize(FArchive& Ar);
49 };
50
51protected:
52 FRepData DataPack;
54};
55
56#endif // WITH_GAMEPLAY_DEBUGGER_MENU
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
Definition Actor.h:257
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 DebugRenderSceneProxy.h:434