Navigation
API > API/Runtime > API/Runtime/InterchangeEngine > API/Runtime/InterchangeEngine/UInterchangeManager
Description
Call this to start a synchronous asset import process. This process can import many different assets into the game content.
@Param ContentPath - The path where the imported assets will be created. @Param SourceData - The source data input to translate.
| Name | ImportAssetWithResult |
| 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 |
UE::Interchange::FAssetImportResultRef ImportAssetWithResult
(
const FString & ContentPath,
const UInterchangeSourceData * SourceData,
const FImportAssetParameters & ImportAssetParameters
)
return an import result which can be use to know when the asynchronous import is terminate.
Parameters
| Name | Remarks |
|---|---|
| ImportAssetParameters | All parameters that need to be passed to the import asset function. |