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
&41;
Remarks
This function ask to select a file and import a mesh from it. After it 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 - return true if it successfully add or replace the MeshObject LOD at LodIndex with the imported data.
- This function will sort out the SourceData and call ImportCustomLodAsync and wait until the result is available.