Language:
Discover
By Skill Level
By Category

FReimportManager

Choose your OS:

Inheritance Hierarchy

FGCObject

FReimportManager

Syntax

class FReimportManager : private FGCObject

Remarks

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

Constructors

No constructors are accessible with public or protected access.

Destructors

No destructors are accessible with public or protected access.

Functions

Name Description

Public function Virtual

[UNREALED_API](API\Editor\UnrealEd\Commandlets\UNREALED_API_2)...

 

CanReimport

(
    UObject * Obj,
    TArray < FString >* ReimportSou...
)

Check to see if we have a handler to manage the reimporting of the object

Public function

[UNREALED_API](API\Editor\UnrealEd\Commandlets\UNREALED_API_2)...

 

GetNewReimportPath

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

Opens a file dialog to request a new reimport path

Public function Static

[UNREALED_API](API\Editor\UnrealEd\Commandlets\UNREALED_API_2)...

 

Instance()

FReimportManager .

Public function

FPostReimpor ...

 

OnPostReimport()

Public function

FPreReimport ...

 

OnPreReimport()

Public function

[UNREALED_API](API\Editor\UnrealEd\Commandlets\UNREALED_API_2)...

 

RegisterHandler

(
    FReimportHandler & InHandler
)

Register a reimport handler with the manager

Public function Virtual

[UNREALED_API](API\Editor\UnrealEd\Commandlets\UNREALED_API_2)...

 

Reimport

(
    UObject * Obj,
    bool bAskForNewFileIfMissing,
    bool bShowNotification,
    FString PreferredReimportFile,
    FReimportHandler * SpecifiedRei...
)

Attempt to reimport the specified object from its source by giving registered reimport handlers a chance to try to reimport the object

Public function Virtual

[UNREALED_API](API\Editor\UnrealEd\Commandlets\UNREALED_API_2)...

 

ReimportMultiple

(
    TArrayView < UObject * > Objects,
    bool bAskForNewFileIfMissing,
    bool bShowNotification,
    FString PreferredReimportFile,
    FReimportHandler * SpecifiedRei...
)

Attempt to reimport multiple objects from its source by giving registered reimport handlers a chance to try to reimport the object

Public function

[UNREALED_API](API\Editor\UnrealEd\Commandlets\UNREALED_API_2)...

 

UnregisterHandler

(
    FReimportHandler & InHandler
)

Unregister a reimport handler from the manager

Public function Virtual

[UNREALED_API](API\Editor\UnrealEd\Commandlets\UNREALED_API_2)...

 

UpdateReimportPaths

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

Update the reimport paths for the specified object

Public function Virtual

[UNREALED_API](API\Editor\UnrealEd\Commandlets\UNREALED_API_2)...

 

ValidateAllSourceFileAndReimport

(
    TArray < UObject * >& ToImportO...,
    bool bShowNotification
)

Attemp to reimport all specified objects.

Overridden from FGCObject

Name Description

Public function Virtual

void

 

AddReferencedObjects

(
    FReferenceCollector & Collector
)

FGCObject interface

Typedefs

Name

Description

FPostReimportNotification

Gets the delegate that's fired after to reimporting an asset

The event delegate.

FPreReimportNotification

Gets the delegate that's fired prior to reimporting an asset

The event delegate.

References

Module

UnrealEd

Header

Editor/UnrealEd/Public/EditorReimportHandler.h