UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
ConsoleSlateDebuggerUtility.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5
7#include "SlateGlobals.h"
8
9#if WITH_SLATE_DEBUGGING
10
11#include "CoreMinimal.h"
12
14
15
16class SWidget;
17class SWindow;
18
20{
22
23#if UE_SLATE_WITH_WIDGET_UNIQUE_IDENTIFIER
24 using TSWidgetId = UPTRINT;
25 using TSWindowId = UPTRINT;
26#else
27 using TSWidgetId = uint64;
28 using TSWindowId = uint64;
29#endif
30 static const TSWidgetId InvalidWidgetId = 0;
31 static const TSWindowId InvalidWindowId = 0;
32
33 static TSWidgetId GetId(const SWidget& Widget);
34 static TSWidgetId GetId(const SWidget* Widget);
35 static TSWindowId GetId(const SWindow& Widget);
36 static TSWindowId GetId(const SWindow* Widget);
39};
40
41#endif //WITH_SLATE_DEBUGGING
FPlatformTypes::UPTRINT UPTRINT
An unsigned integer the same size as a pointer.
Definition Platform.h:1146
FPlatformTypes::uint64 uint64
A 64-bit unsigned integer.
Definition Platform.h:1117
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
#define DECLARE_LOG_CATEGORY_EXTERN(CategoryName, DefaultVerbosity, CompileTimeVerbosity)
Definition LogMacros.h:361
Definition SWidget.h:165
Definition SWindow.h:243