EM_Task/UnrealEd/Classes/Factories/SlateBrushAssetFactory.h

26 lines
823 B
C
Raw Permalink Normal View History

2026-02-13 16:18:33 +08:00
// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "UObject/ObjectMacros.h"
#include "Factories/Factory.h"
#include "SlateBrushAssetFactory.generated.h"
/** Factory for creating SlateBrushAssets */
UCLASS(hidecategories = Object, MinimalAPI)
class USlateBrushAssetFactory: public UFactory
{
GENERATED_UCLASS_BODY()
/** An initial texture to assign to the newly created slate brush */
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
};