UReimportTextureFactory

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

UnrealEd

Header

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

Include

#include "Factories/ReimportTextureFactory.h"

Syntax

class UReimportTextureFactory :
    public UTextureFactory,
    public FReimportHandler

Variables

Name Description

Public variable

TObjectPtr< cla...

 

pOriginalTex

Constructors

Name Description

Public function

UReimportTextureFactory

(
    const FObjectInitializer& ObjectIn...
)

Overridden from UFactory

Name Description

Public function Virtual Const

bool

 

IsAutomatedImport()

Overridden from FReimportHandler

Name Description

Public function Virtual

bool

 

CanReimport

(
    UObject* Obj,
    TArray< FString >& OutFilenames
)

Check to see if the handler is capable of reimporting the object

Public function Virtual Const

int32

 

GetPriority()

Get the import priority for this handler.

Public function Virtual

EReimportRes...

 

Reimport

(
    UObject* Obj
)

Reimports specified texture from its source material, if the meta-data exists

Public function Virtual

void

 

SetReimportPaths

(
    UObject* Obj,
    const TArray< FString >& NewReimpo...
)

Sets the reimport path(s) for the specified object