Navigation
API > API/Runtime > API/Runtime/InterchangeEngine > API/Runtime/InterchangeEngine/UInterchangeManager
Description
Call this from blueprint or python to start an asynchronous asset import process. This process can import many different assets into the game content.
@Param ObjectToReimport - The object to re-import. @Note - The interchange manager will by default use the last file use to re-import the ObjectToReimport. If the file doesn't exist and the bAutomated flag is:
- true, the function will return false and log a warning
- false, a dialog will ask @Note - If you need an event for when the import is done use the ImportAssetParameters events.
| Name | ScriptedReimportAssetAsync |
| Type | function |
| Header File | /Engine/Source/Runtime/Interchange/Engine/Public/InterchangeManager.h |
| Include Path | #include "InterchangeManager.h" |
| Source | /Engine/Source/Runtime/Interchange/Engine/Private/InterchangeManager.cpp |
UFUNCTION (BlueprintCallable, Category="Interchange | Import Manager")
bool ScriptedReimportAssetAsync
(
UObject * ObjectToReimport,
const FImportAssetParameters & ImportAssetParameters
)
true if the import was started, or false otherwise.
Parameters
| Name | Remarks |
|---|---|
| ImportAssetParameters | All parameters that need to be passed to the import asset function. |