Navigation
API > API/Runtime > API/Runtime/InterchangeEngine > API/Runtime/InterchangeEngine/UInterchangeMeshUtilities
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 > ImportCustomLod
(
UObject * MeshObject,
const int32 LodIndex,
const UInterchangeSourceData * SourceData,
bool bAsync
)
Remarks
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
Parameters
| Name | Description |
|---|---|
| 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. |