EM_Task/UnrealEd/Classes/Factories/VolumeTextureFactory.h
Boshuang Zhao 5144a49c9b add
2026-02-13 16:18:33 +08:00

26 lines
820 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "UObject/ObjectMacros.h"
#include "Factories/Factory.h"
#include "VolumeTextureFactory.generated.h"
/** Factory for creating volume texture */
UCLASS(hidecategories = Object, MinimalAPI)
class UVolumeTextureFactory: public UFactory
{
GENERATED_UCLASS_BODY()
/** An initial texture to assign to the newly created volume texture */
UPROPERTY()
class UTexture2D* InitialTexture;
//~ Begin UFactory Interface
virtual FText GetDisplayName() const override;
virtual bool ConfigureProperties() override;
virtual UObject* FactoryCreateNew(UClass* Class, UObject* InParent, FName Name, EObjectFlags Flags, UObject* Context, FFeedbackContext* Warn) override;
//~ Begin UFactory Interface
};