RealtimeStyleTransferRuntime/Source/LyraEditor/Private/LyraContextEffectsLibraryFa...

27 lines
880 B
C++
Raw Permalink Normal View History

2022-05-23 18:41:30 +00:00
// Copyright Epic Games, Inc. All Rights Reserved.
#include "LyraContextEffectsLibraryFactory.h"
2022-09-13 07:18:28 +00:00
2022-05-23 18:41:30 +00:00
#include "Feedback/ContextEffects/LyraContextEffectsLibrary.h"
2022-09-13 07:18:28 +00:00
#include "Templates/SubclassOf.h"
class FFeedbackContext;
class UClass;
class UObject;
2022-05-23 18:41:30 +00:00
ULyraContextEffectsLibraryFactory::ULyraContextEffectsLibraryFactory(const FObjectInitializer& ObjectInitializer)
: Super(ObjectInitializer)
{
SupportedClass = ULyraContextEffectsLibrary::StaticClass();
bCreateNew = true;
bEditorImport = false;
bEditAfterNew = true;
}
UObject* ULyraContextEffectsLibraryFactory::FactoryCreateNew(UClass* Class, UObject* InParent, FName Name, EObjectFlags Flags, UObject* Context, FFeedbackContext* Warn)
{
ULyraContextEffectsLibrary* LyraContextEffectsLibrary = NewObject<ULyraContextEffectsLibrary>(InParent, Name, Flags);
return LyraContextEffectsLibrary;
}