Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/Experimental/Interchange/Engine/Public/InterchangeManager.h |
Include |
#include "InterchangeManager.h" |
Source |
/Engine/Source/Runtime/Experimental/Interchange/Engine/Private/InterchangeManager.cpp |
bool ImportScene
(
const FString & ContentPath,
const UInterchangeSourceData * SourceData,
const FImportAssetParameters & ImportAssetParameters
)
Call this to start an import scene process, the caller must specify a source data. This import process can import many different asset and there transform (USceneComponent) and store the result in a blueprint and add the blueprint to the level.
ContentPath - The content path where to import the assets SourceData - The source data input we want to translate, this object will be duplicate to allow multithread safe operations
true if the import succeed, false otherwise.
Parameter |
Description |
---|---|
ImportAssetParameters |
All import asset parameter we need to pass to the import asset function |