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

FString

 

PreferredReimportPath

Constructors

Name Description

Public function

FReimportHandler()

Constructor. Add self to manager

Destructors

Name Description

Public function Virtual

~FReimportHandler()

Destructor. 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

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

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

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback