Navigation
API > API/Developer > API/Developer/MeshBoneReduction > API/Developer/MeshBoneReduction/IMeshBoneReduction
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool ReduceBoneCounts
(
USkeletalMesh* SkeletalMesh, |
Reduce Bone Counts for the SkeletalMesh with the LOD | MeshBoneReduction.h | |
void ReduceBoneCounts
(
USkeletalMesh* SkeletalMesh, |
Reduce bone count based on the given list of bones to remove. | MeshBoneReduction.h |
ReduceBoneCounts(USkeletalMesh , int32, const TArray< FName > , bool)
Description
Reduce Bone Counts for the SkeletalMesh with the LOD
| Name | ReduceBoneCounts |
| Type | function |
| Header File | /Engine/Source/Developer/MeshBoneReduction/Public/MeshBoneReduction.h |
| Include Path | #include "MeshBoneReduction.h" |
bool ReduceBoneCounts
(
USkeletalMesh * SkeletalMesh,
int32 DesiredLOD,
const TArray< FName > * BoneNamesToRemove,
bool bCallPostEditChange
)
Parameters
| Name | Remarks |
|---|---|
| SkeletalMesh | : SkeletalMesh |
| DesriedLOD | : The data to reduce comes from Skeleton |
ReduceBoneCounts(USkeletalMesh *, const TArray< FName > &, const TArray< FName >, int32, bool)
Description
Reduce bone count based on the given list of bones to remove.
This will remove the given set of bones from a LOD and possibly below while keeping the manually specified bones to keep as well as all the needed parents and parents of parents.
The function updates derived data cache state to ensure regenerated skeletal data reflects the modified bone hierarchy.
| Name | ReduceBoneCounts |
| Type | function |
| Header File | /Engine/Source/Developer/MeshBoneReduction/Public/MeshBoneReduction.h |
| Include Path | #include "MeshBoneReduction.h" |
void ReduceBoneCounts
(
USkeletalMesh * SkeletalMesh,
const TArray< FName > & ForceKeepBones,
const TArray< FName > BonesToRemove,
int32 LODIndex,
bool bIncludeBelowLODs
)
Parameters
| Name | Remarks |
|---|---|
| SkeletalMesh | The skeletal mesh whose bone counts should be reduced. |
| ForceKeepBones | Optional list of bone names that must be preserved regardless. |
| BonesToRemove | List of bone names to remove from the specified LOD. |
| LODIndex | Index of the LOD to apply bone count reduction. |
| bIncludeBelowLODs | If true, applies the same bone removal to all LODs below the specified LOD index. |