Navigation
API > API/Runtime > API/Runtime/InterchangeEngine > API/Runtime/InterchangeEngine/UInterchangeManager > API/Runtime/InterchangeEngine/UInterchangeManager/ImportAsset
References
| Module | InterchangeEngine |
| Header | /Engine/Source/Runtime/Interchange/Engine/Public/InterchangeManager.h |
| Include | #include "InterchangeManager.h" |
| Source | /Engine/Source/Runtime/Interchange/Engine/Private/InterchangeManager.cpp |
UFUNCTION (BlueprintCallable, Category="Interchange | Import Manager")
bool ImportAsset
(
const FString & ContentPath,
const UInterchangeSourceData * SourceData,
const FImportAssetParameters & ImportAssetParameters,
TArray< UObject * > & OutImportedObjects
)
Remarks
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. @Note - In blueprint depending on the event you use to start the import its possible to have a deadlock, use the async function if its what you are experimenting true if the import succeeds, or false otherwise.
Parameters
| Name | Description |
|---|---|
| ImportAssetParameters | All parameters that need to be passed to the import asset function. |