Navigation
API > API/Runtime > API/Runtime/InterchangeEngine > API/Runtime/InterchangeEngine/UInterchangeManager
Description
Call this to start a asynchronous scene import process. This process can import many different assets and their transforms (USceneComponent), store the result in a Blueprint, and add the Blueprint to the level.
@Param ContentPath - The path where the imported assets will be created. @Param SourceData - The source data input to translate. This object will be duplicated to allow thread-safe operations.
| Name | ImportSceneAsync |
| 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 |
TTuple < UE::Interchange::FAssetImportResultRef, UE::Interchange::FSceneImportResultRef > ImportSceneAsync
(
const FString & ContentPath,
const UInterchangeSourceData * SourceData,
const FImportAssetParameters & ImportAssetParameters
)
return a pair of 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. |