RealtimeStyleTransferRuntime/Source/LyraGame/UI/LyraHUDLayout.h

37 lines
860 B
C
Raw Permalink Normal View History

2022-05-23 18:41:30 +00:00
// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "LyraActivatableWidget.h"
2022-09-13 07:18:28 +00:00
#include "UObject/SoftObjectPtr.h"
#include "UObject/UObjectGlobals.h"
2022-05-23 18:41:30 +00:00
#include "LyraHUDLayout.generated.h"
2022-09-13 07:18:28 +00:00
class UCommonActivatableWidget;
class UObject;
2022-05-23 18:41:30 +00:00
/**
* ULyraHUDLayout
*
* Widget used to lay out the player's HUD (typically specified by an Add Widgets action in the experience)
*/
UCLASS(Abstract, BlueprintType, Blueprintable, Meta = (DisplayName = "Lyra HUD Layout", Category = "Lyra|HUD"))
class ULyraHUDLayout : public ULyraActivatableWidget
{
GENERATED_BODY()
public:
ULyraHUDLayout(const FObjectInitializer& ObjectInitializer);
void NativeOnInitialized() override;
protected:
void HandleEscapeAction();
UPROPERTY(EditDefaultsOnly)
TSoftClassPtr<UCommonActivatableWidget> EscapeMenuClass;
};