EM_Task/UnrealEd/Classes/Factories/PhysicalMaterialFactoryNew.h

30 lines
983 B
C
Raw Permalink Normal View History

2026-02-13 16:18:33 +08:00
// Copyright Epic Games, Inc. All Rights Reserved.
//~=============================================================================
// PhysicalMaterialFactoryNew
//~=============================================================================
#pragma once
#include "CoreMinimal.h"
#include "UObject/ObjectMacros.h"
#include "Templates/SubclassOf.h"
#include "Factories/Factory.h"
#include "PhysicalMaterialFactoryNew.generated.h"
class UPhysicalMaterial;
UCLASS(MinimalAPI, HideCategories = Object)
class UPhysicalMaterialFactoryNew: public UFactory
{
GENERATED_UCLASS_BODY()
UPROPERTY(EditAnywhere, Category = PhysicalMaterialFactory)
TSubclassOf<UPhysicalMaterial> PhysicalMaterialClass;
//~ Begin UFactory Interface
virtual bool ConfigureProperties() override;
virtual UObject* FactoryCreateNew(UClass* Class, UObject* InParent, FName Name, EObjectFlags Flags, UObject* Context, FFeedbackContext* Warn) override;
//~ Begin UFactory Interface
};