Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/FReimportManager
References
| Module | UnrealEd |
| Header | /Engine/Source/Editor/UnrealEd/Public/EditorReimportHandler.h |
| Include | #include "EditorReimportHandler.h" |
| Source | /Engine/Source/Editor/UnrealEd/Private/Editor.cpp |
virtual UE::Interchange::FAssetImportResultRef ReimportAsync
(
UObject * Obj,
bool bAskForNewFileIfMissing,
bool bShowNotification,
FString PreferredReimportFile,
FReimportHandler * SpecifiedReimportHandler,
int32 SourceFileIndex,
bool bForceNewFile,
bool bAutomated
)
Remarks
Attempt to reimport the specified object from its source by giving registered reimport handlers a chance to try to reimport the object FAssetImportResultRef
Parameters
| Name | Description |
|---|---|
| Obj | Object to try reimporting |
| bAskForNewFileIfMissing | If the file is missing, open a dialog to ask for a new one |
| bShowNotification | True to show a notification when complete, false otherwise |
| PreferredReimportFile | if not empty, will be use in case the original file is missing and bAskForNewFileIfMissing is set to false |
| SourceFileIndex | which source file index you want to reimport default is INDEX_NONE(the factory will choose) |
| bAutomated | True to skip dialog prompts |