EM_Task/UnrealEd/Classes/Factories/MaterialFactoryNew.h

27 lines
869 B
C
Raw Normal View History

2026-02-13 16:18:33 +08:00
// Copyright Epic Games, Inc. All Rights Reserved.
//~=============================================================================
// MaterialFactoryNew
//~=============================================================================
#pragma once
#include "CoreMinimal.h"
#include "UObject/ObjectMacros.h"
#include "Factories/Factory.h"
#include "MaterialFactoryNew.generated.h"
UCLASS(hidecategories = Object, collapsecategories, MinimalAPI)
class UMaterialFactoryNew: public UFactory
{
GENERATED_UCLASS_BODY()
/** An initial texture to place in the newly created material */
UPROPERTY()
class UTexture* InitialTexture;
//~ Begin UFactory Interface
virtual UObject* FactoryCreateNew(UClass* Class, UObject* InParent, FName Name, EObjectFlags Flags, UObject* Context, FFeedbackContext* Warn) override;
//~ Begin UFactory Interface
};