UTexture2DFactoryNew

Texture2DFactoryNew.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

UnrealEd

Header

/Engine/Source/Editor/UnrealEd/Classes/Factories/Texture2dFactoryNew.h

Include

#include "Factories/Texture2dFactoryNew.h"

Syntax

class UTexture2DFactoryNew : public UFactory

Remarks

Texture2DFactoryNew.

Variables

Name Description

Public variable

int32

 

Height

Height of new texture

Public variable

int32

 

Width

Width of new texture

Constructors

Name Description

Public function

UTexture2DFactoryNew

(
    const FObjectInitializer& ObjectIn...
)

Overridden from UFactory

Name Description

Public function Virtual

UObject *...

 

FactoryCreateNew

(
    UClass* InClass,
    UObject* InParent,
    FName InName,
    EObjectFlags Flags,
    UObject* Context,
    FFeedbackContext* Warn
)

Create a new object by class.

Public function Virtual Const

bool

 

ShouldShowInNewMenu()

Returns true if this factory should be shown in the New Asset menu (by default calls CanCreateNew).