Files
UnrealEngineUWP/Engine/Source/Editor/VirtualTexturingEditor/Private/VirtualTextureSpaceFactoryNew.cpp
john mauney f6d61ab7b6 Update Epic copyright from 2017 to 2018
#jira UE-653339
#RB none

#ROBOMERGE-SOURCE: CL 4477668 in //UE4/Release-4.21/...
#ROBOMERGE-BOT: RELEASE (Release-4.21 -> Release-Staging-4.21)

[CL 4477669 by john mauney in Staging-4.21 branch]
2018-10-16 20:30:57 -04:00

23 lines
714 B
C++

// Copyright 1998-2018 Epic Games, Inc. All Rights Reserved.
#include "VirtualTextureSpaceFactoryNew.h"
#include "VT/VirtualTextureSpace.h"
UVirtualTextureSpaceFactoryNew::UVirtualTextureSpaceFactoryNew(const FObjectInitializer& ObjectInitializer)
: Super(ObjectInitializer)
{
SupportedClass = UVirtualTextureSpace::StaticClass();
bCreateNew = true;
bEditAfterNew = true;
}
UObject* UVirtualTextureSpaceFactoryNew::FactoryCreateNew(UClass* InClass, UObject* InParent, FName InName, EObjectFlags Flags, UObject* Context, FFeedbackContext* Warn)
{
return NewObject<UVirtualTextureSpace>(InParent, InClass, InName, Flags);
}
bool UVirtualTextureSpaceFactoryNew::ShouldShowInNewMenu() const
{
return true;
}