RealtimeStyleTransferRuntime/Source/LyraGame/UI/IndicatorSystem/IndicatorLayer.h

34 lines
816 B
C
Raw Normal View History

2022-05-23 18:41:30 +00:00
// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "UObject/ObjectMacros.h"
#include "Widgets/SWidget.h"
#include "Components/PanelWidget.h"
#include "GameplayTagContainer.h"
#include "IndicatorLayer.generated.h"
class SActorCanvas;
UCLASS()
class UIndicatorLayer : public UWidget
{
GENERATED_UCLASS_BODY()
public:
/** Default arrow brush to use if UI is clamped to the screen and needs to show an arrow. */
UPROPERTY(EditAnywhere, BlueprintReadOnly, Category=Appearance)
FSlateBrush ArrowBrush;
protected:
// UWidget interface
virtual void ReleaseSlateResources(bool bReleaseChildren) override;
virtual TSharedRef<SWidget> RebuildWidget() override;
// End UWidget
protected:
TSharedPtr<SActorCanvas> MyActorCanvas;
};