You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
#jira #preflight 6306736ac85b7fef22be7751 [CL 21558583 by bryan sefcik in ue5-main branch]
26 lines
838 B
C++
26 lines
838 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#include "LandscapeLayerInfoObjectFactory.h"
|
|
|
|
#include "LandscapeLayerInfoObject.h"
|
|
#include "Templates/SubclassOf.h"
|
|
|
|
class FFeedbackContext;
|
|
class UClass;
|
|
class UObject;
|
|
|
|
ULandscapeLayerInfoObjectFactory::ULandscapeLayerInfoObjectFactory(const FObjectInitializer& ObjectInitializer)
|
|
: Super(ObjectInitializer)
|
|
{
|
|
bCreateNew = true;
|
|
bEditAfterNew = true;
|
|
SupportedClass = ULandscapeLayerInfoObject::StaticClass();
|
|
}
|
|
|
|
UObject* ULandscapeLayerInfoObjectFactory::FactoryCreateNew(UClass* Class, UObject* InParent, FName Name, EObjectFlags Flags, UObject* Context, FFeedbackContext* Warn)
|
|
{
|
|
ULandscapeLayerInfoObject* NewLayerInfoObject = NewObject<ULandscapeLayerInfoObject>(InParent, Class, Name, Flags | RF_Public | RF_Standalone | RF_Transactional);
|
|
|
|
return NewLayerInfoObject;
|
|
}
|