Files
UnrealEngine/Engine/Source/Editor/UMGEditor/Public/BlueprintModes/WidgetBlueprintApplicationModes.h
2025-05-18 13:04:45 +08:00

31 lines
868 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "Internationalization/Text.h"
#include "UObject/NameTypes.h"
/////////////////////////////////////////////////////
// FWidgetBlueprintApplicationModes
// This is the list of IDs for widget blueprint editor modes
struct UMGEDITOR_API FWidgetBlueprintApplicationModes
{
// Mode constants
static const FName DesignerMode;
static const FName GraphMode;
UE_DEPRECATED(5.3, "DebugMode is deprecated. Use PreviewMode instead.")
static const FName DebugMode;
static const FName PreviewMode;
static FText GetLocalizedMode(const FName InMode);
UE_DEPRECATED(5.3, "IsDebugModeEnabled is deprecated. Use IsPreviewModeEnabled instead.")
static bool IsDebugModeEnabled();
static bool IsPreviewModeEnabled();
private:
FWidgetBlueprintApplicationModes() = delete;
};