You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
23 lines
674 B
C++
23 lines
674 B
C++
// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
|
|
|
|
#include "VirtualTextureFactoryNew.h"
|
|
#include "VT/VirtualTexture.h"
|
|
|
|
UVirtualTextureFactoryNew::UVirtualTextureFactoryNew(const FObjectInitializer& ObjectInitializer)
|
|
: Super(ObjectInitializer)
|
|
{
|
|
SupportedClass = UVirtualTexture::StaticClass();
|
|
bCreateNew = true;
|
|
bEditAfterNew = true;
|
|
}
|
|
|
|
UObject* UVirtualTextureFactoryNew::FactoryCreateNew(UClass* InClass, UObject* InParent, FName InName, EObjectFlags Flags, UObject* Context, FFeedbackContext* Warn)
|
|
{
|
|
return NewObject<UVirtualTexture>(InParent, InClass, InName, Flags);
|
|
}
|
|
|
|
|
|
bool UVirtualTextureFactoryNew::ShouldShowInNewMenu() const
|
|
{
|
|
return true;
|
|
} |