Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/USkeletalMesh
Description
Returns the MeshDescription object associated with the given LOD index. If there's no import data at this LOD, and the LOD is auto-generated, then a `nullptr_ is returned.
| Name | CloneMeshDescription |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/SkeletalMesh.h |
| Include Path | #include "Engine/SkeletalMesh.h" |
| Source | /Engine/Source/Runtime/Engine/Private/SkeletalMesh.cpp |
bool CloneMeshDescription
(
const int32 InLODIndex,
FMeshDescription & OutMeshDescription
) const
true_ if valid mesh description was copied in. false_ if there was no mesh description the LOD is automatically generated.
Parameters
| Name | Remarks |
|---|---|
| InLODIndex | The LOD index to clone a FMeshDescription object from. |
| OutMeshDescription | The target mesh description object to copy the source data into. |