FReimportHandler

Reimport handler for package resources with associated source files on disk.

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

UnrealEd

Header

/Engine/Source/Editor/UnrealEd/Public/EditorReimportHandler.h

Include

#include "EditorReimportHandler.h"

Syntax

class FReimportHandler

Remarks

Reimport handler for package resources with associated source files on disk.

Variables

Name Description

Protected variable

bool

 

bAutomatedReimport

Protected variable

FString

 

PreferredReimportPath

Constructors

Name Description

Public function

FReimportHandler()

  1. Add self to manager

Destructors

Name Description

Public function Virtual

~FReimportHandler()

  1. Remove self from manager

Functions

Name Description

Public function

bool

 

CanReimport

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

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

Public function Virtual Const

const UObjec...

 

GetFactoryObject()

Returns the UFactory object associated with this reimport handler

Public function Virtual Const

int32

 

GetPriority()

Get the import priority for this handler.

Public function Virtual Const

bool

 

IsAutomatedReimport()

When True dialog prompts should not appear.

Public function Virtual

void

 

PostImportCleanUp()

Call after multiple import happen

Public function

EReimportRes...

 

Reimport

(
    UObject* Obj
)

Attempt to reimport the specified object from its source

Public function Virtual

EReimportRes...

 

Reimport

(
    UObject* Obj,
    int32 SourceFileIndex
)

Attempt to reimport the specified object from its source

Public function Virtual

void

 

SetAutomatedReimport

(
    const bool InAutomatedReimport
)

Sets automated, when True dialog prompts should not appear.

Public function

void

 

SetPreferredReimportPath

(
    const FString& Path
)

Sets the preferred reimport path, for aiding in resolving reimporting objects where the object path differs from the new path (ex. differing extensions).

Public function

void

 

SetReimportPaths

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

Sets the reimport path(s) for the specified object

Public function Virtual

void

 

SetReimportPaths

(
    UObject* Obj,
    const FString& NewReimportPath,
    const int32 SourceIndex
)

Sets the reimport path(s) for the specified object at the specified index

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss