Navigation
API > API/Runtime > API/Runtime/InterchangeEngine > API/Runtime/InterchangeEngine/FFactoryCommon > API/Runtime/InterchangeEngine/FFactoryCommon/UpdateImportAssetData
References
| Module | InterchangeEngine |
| Header | /Engine/Source/Runtime/Interchange/Engine/Public/InterchangeImportCommon.h |
| Include | #include "InterchangeImportCommon.h" |
| Source | /Engine/Source/Runtime/Interchange/Engine/Private/InterchangeImportCommon.cpp |
static UAssetImportData &42; UpdateImportAssetData
&40;
FUpdateImportAssetDataParameters & Parameters,
TFunctionRef< void(UInterchangeAssetImportData &42;)> CustomFileSourceUpdate
&41;
Remarks
Update the AssetImportData of the specified asset in the parameters. Also update the node container and the node unique id. If the AssetImportData is null it will create one. If the AssetImportData is not an UInterchangeAssetImportData it will create a new one. The file source update is done by calling the function parameter CustomFileSourceUpdate, so its the client responsability to properly update the file source. The source data that should be stored on the asset or nullptr if a parameter is invalid