Navigation
API > API/Runtime > API/Runtime/InterchangeEngine > API/Runtime/InterchangeEngine/UInterchangeMeshUtilities
Description
This function import a mesh from the source data and add/replace the MeshObject LOD (at LodIndex) with the imported mesh LOD data.
@Param MeshObject - The Mesh we want to add the lod @Param LodIndex - The index of the LOD we want to replace or add @Param SourceData - The source to import the custom LOD
| Name | ImportCustomLod |
| Type | function |
| Header File | /Engine/Source/Runtime/Interchange/Engine/Public/InterchangeMeshUtilities.h |
| Include Path | #include "InterchangeMeshUtilities.h" |
| Source | /Engine/Source/Runtime/Interchange/Engine/Private/InterchangeMeshUtilities.cpp |
static TFuture < bool > ImportCustomLod
(
UObject * MeshObject,
const int32 LodIndex,
const UInterchangeSourceData * SourceData,
bool bAsync
)
Parameters
| Name | Remarks |
|---|---|
| bAsync | If true the future will not be set when the function return and the import will be asynchronous. @Return - return future boolean which will be true if it successfully add or replace the MeshObject LOD at LodIndex with the imported data. |