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

22 lines
542 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 "Blueprint/UserWidget.h"
#include "Templates/SubclassOf.h"
#include "UObject/ObjectMacros.h"
#include "LyraWidgetFactory.generated.h"
UCLASS(Abstract, Blueprintable, BlueprintType, EditInlineNew)
class LYRAGAME_API ULyraWidgetFactory : public UObject
{
GENERATED_BODY()
public:
ULyraWidgetFactory() { }
UFUNCTION(BlueprintNativeEvent)
TSubclassOf<UUserWidget> FindWidgetClassForData(const UObject* Data) const;
};