Navigation
API > API/Editor > API/Editor/UnrealEd
Reimport manager for package resources with associated source files on disk.
| Name | FReimportManager |
| Type | class |
| Header File | /Engine/Source/Editor/UnrealEd/Public/EditorReimportHandler.h |
| Include Path | #include "EditorReimportHandler.h" |
Syntax
class FReimportManager : private FGCObject
Inheritance Hierarchy
- FGCObject → FReimportManager
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Constructor | EditorReimportHandler.h | ||
FReimportManager
(
const FReimportManager& |
Copy constructor; intentionally left unimplemented | EditorReimportHandler.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FReimportManager() |
Destructor | EditorReimportHandler.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FPostReimportNotification | TMulticastDelegate_TwoParams< void, UObject *, bool > | Gets the delegate that's fired after to reimporting an asset | EditorReimportHandler.h |
| FPreReimportNotification | TMulticastDelegate_OneParam< void, UObject * > | Gets the delegate that's fired prior to reimporting an asset | EditorReimportHandler.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bHandlersNeedSorting | bool | True when the Handlers array has been modified such that it needs sorting | EditorReimportHandler.h | |
| Handlers | TArray< FReimportHandler * > | Reimport handlers registered with this manager | EditorReimportHandler.h | |
| InterchangePostReimportedDelegateHandle | FDelegateHandle | EditorReimportHandler.h | ||
| PostReimport | FPostReimportNotification | Delegate to call after the asset is reimported | EditorReimportHandler.h | |
| PreReimport | FPreReimportNotification | Delegate to call before the asset is reimported | EditorReimportHandler.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Check to see if we have a handler to manage the reimporting of the object | EditorReimportHandler.h | ||
| Opens a file dialog to request a new reimport path | EditorReimportHandler.h | ||
FPostReimportNotification & OnPostReimport() |
EditorReimportHandler.h | ||
FPreReimportNotification & OnPreReimport() |
EditorReimportHandler.h | ||
void RegisterHandler
(
FReimportHandler& InHandler |
Register a reimport handler with the manager | EditorReimportHandler.h | |
virtual bool Reimport
(
UObject* Obj, |
Attempt to reimport the specified object from its source by giving registered reimport handlers a chance to try to reimport the object | EditorReimportHandler.h | |
virtual UE::Interchange::FAssetImportResultRef ReimportAsync
(
UObject* Obj, |
Attempt to reimport the specified object from its source by giving registered reimport handlers a chance to try to reimport the object | EditorReimportHandler.h | |
virtual bool ReimportMultiple
(
TArrayView< UObject* > Objects, |
Attempt to reimport multiple objects from its source by giving registered reimport handlers a chance to try to reimport the object | EditorReimportHandler.h | |
void UnregisterHandler
(
FReimportHandler& InHandler |
Unregister a reimport handler from the manager | EditorReimportHandler.h | |
| Update the reimport paths for the specified object | EditorReimportHandler.h | ||
| Update the reimport paths for the specified object | EditorReimportHandler.h | ||
virtual void ValidateAllSourceFileAndReimport
(
TArray< UObject* >& ToImportObjects, |
Attemp to reimport all specified objects. | EditorReimportHandler.h |
Overridden from FGCObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void AddReferencedObjects
(
FReferenceCollector& Collector |
FGCObject interface | EditorReimportHandler.h | |
virtual FString GetReferencerName() |
EditorReimportHandler.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FReimportManager * Instance() |
Singleton function, provides access to the only instance of the class | EditorReimportHandler.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FReimportManager & operator=
(
const FReimportManager& |
Assignment operator; intentionally left unimplemented | EditorReimportHandler.h |