Navigation
API > API/Runtime > API/Runtime/InterchangeEngine > API/Runtime/InterchangeEngine/UInterchangeMeshUtilities > API/Runtime/InterchangeEngine/UInterchangeMeshUtilities/ImportCustomLodAsync
References
Module | InterchangeEngine |
Header | /Engine/Source/Runtime/Interchange/Engine/Public/InterchangeMeshUtilities.h |
Include | #include "InterchangeMeshUtilities.h" |
Source | /Engine/Source/Runtime/Interchange/Engine/Private/InterchangeMeshUtilities.cpp |
static TFuture< bool > ImportCustomLodAsync
&40;
UObject &42; MeshObject,
const int32 LodIndex,
const UInterchangeSourceData &42; SourceData
&41;
Remarks
This function import a mesh from the source data and add/replace the MeshObject LOD (at LodIndex) with the imported mesh LOD data.
MeshObject - The Mesh we want to add the lod LodIndex - The index of the LOD we want to replace or add SourceData - The source to import the custom LOD - return future boolean which will be true if it successfully add or replace the MeshObject LOD at LodIndex with the imported data.
- Since this is the async version, the SourceData parameter is required. - This function will search for an available interchange asset factory that can do the job for the MeshObject class