Navigation
API > API/Developer > API/Developer/MeshUtilities > API/Developer/MeshUtilities/IMeshUtilities
Description
Predict which bones bone reduction will remove for a given LOD and compute the reparent map. This is a read-only operation — it does not modify the mesh. Used by the unified bone map builder to determine reparent targets that need unified bone slots.
| Name | GetBoneReductionData |
| Type | function |
| Header File | /Engine/Source/Developer/MeshUtilities/Public/MeshUtilities.h |
| Include Path | #include "MeshUtilities.h" |
bool GetBoneReductionData
(
const USkeletalMesh * SkeletalMesh,
int32 LODIndex,
TMap < uint16, uint16 > & OutBonesToReplace
) const
true if any bones would be removed
Parameters
| Name | Remarks |
|---|---|
| SkeletalMesh | Mesh to inspect |
| LODIndex | LOD to query |
| OutBonesToReplace | Map of [removed bone index -> reparent target bone index] |