UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
ConsoleSlateDebuggerInvalidationRoot.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5
7
8#if WITH_SLATE_DEBUGGING
9
10#include "CoreMinimal.h"
12#include "Delegates/Delegate.h"
14#include "HAL/IConsoleManager.h"
15
16struct FGeometry;
17class FPaintArgs;
18class FSlateRect;
20class SWidget;
21class SWindow;
22
30{
31public:
34
35 void StartDebugging();
36 void StopDebugging();
37 bool IsEnabled() const { return bEnabled; }
38
39 void SaveConfig();
40
41private:
42 void ToggleLegend();
46
48
49private:
50 bool bEnabled;
52
53 //~ Settings
56 bool bShowLegend;
57 bool bShowQuad;
62 float CacheDuration;
63
64 //~ Console objects
70
71 struct FInvalidatedInfo
72 {
73 FConsoleSlateDebuggerUtility::TSWindowId WindowId;
76 double FlashingSeconds;
77 };
78
81};
82
83#endif //WITH_SLATE_DEBUGGING
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
ESlateInvalidationPaintType
Definition SlateInvalidationRoot.h:54
Definition IConsoleManager.h:2026
Definition IConsoleManager.h:1580
Definition PaintArgs.h:23
Definition SlateRect.h:26
Definition DrawElements.h:220
Definition IConsoleManager.h:558
Definition SWidget.h:165
Definition SWindow.h:243
Definition UnrealString.h.inl:34
bool IsEnabled()
Definition IAudioLinkFactory.cpp:13
FSlateColor GetColor(const FFieldColorSettings &Settings, const FProperty *Property)
Definition FieldIconFinder.cpp:21
Definition Geometry.h:40
Definition Color.h:48