RealtimeStyleTransferRuntime/Source/LyraGame/UI/LyraHUDLayout.h

35 lines
835 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "Blueprint/UserWidget.h"
#include "CommonActivatableWidget.h"
#include "LyraActivatableWidget.h"
#include "LyraHUDLayout.generated.h"
/**
* 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;
};