EM_Task/UnrealEd/Classes/Factories/CanvasRenderTarget2DFactoryNew.h

35 lines
1.2 KiB
C
Raw Permalink Normal View History

2026-02-13 16:18:33 +08:00
// Copyright Epic Games, Inc. All Rights Reserved.
//~=============================================================================
// UCanvasRenderTarget2DFactoryNew
//~=============================================================================
#pragma once
#include "CoreMinimal.h"
#include "UObject/ObjectMacros.h"
#include "Factories/Factory.h"
#include "CanvasRenderTarget2DFactoryNew.generated.h"
UCLASS(hidecategories = (Object, Texture))
class UCanvasRenderTarget2DFactoryNew: public UFactory
{
GENERATED_UCLASS_BODY()
/** Width of the texture render target */
UPROPERTY(meta = (ToolTip = "Width of the texture render target"))
int32 Width;
/** Height of the texture render target */
UPROPERTY(meta = (ToolTip = "Height of the texture render target"))
int32 Height;
/** Pixel format of the texture render target */
UPROPERTY(meta = (ToolTip = "Pixel format of the texture render target"))
uint8 Format;
//~ Begin UFactory Interface
virtual UObject* FactoryCreateNew(UClass* Class, UObject* InParent, FName Name, EObjectFlags Flags, UObject* Context, FFeedbackContext* Warn) override;
//~ Begin UFactory Interface
};