RealtimeStyleTransferRuntime/Source/LyraGame/UI/Common/LyraWidgetFactory.h

24 lines
550 B
C
Raw Normal View History

2022-05-23 18:41:30 +00:00
// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "Templates/SubclassOf.h"
2022-09-13 07:18:28 +00:00
#include "UObject/Object.h"
#include "UObject/UObjectGlobals.h"
2022-05-23 18:41:30 +00:00
#include "LyraWidgetFactory.generated.h"
2022-09-13 07:18:28 +00:00
class UUserWidget;
struct FFrame;
2022-05-23 18:41:30 +00:00
UCLASS(Abstract, Blueprintable, BlueprintType, EditInlineNew)
class LYRAGAME_API ULyraWidgetFactory : public UObject
{
GENERATED_BODY()
public:
ULyraWidgetFactory() { }
UFUNCTION(BlueprintNativeEvent)
TSubclassOf<UUserWidget> FindWidgetClassForData(const UObject* Data) const;
};