Module |
|
Header |
/Engine/Source/Developer/MeshBoneReduction/Public/MeshBoneReduction.h |
Include |
#include "MeshBoneReduction.h" |
bool GetBoneReductionData
(
const USkeletalMesh * SkeletalMesh,
int32 DesiredLOD,
TMap< FBoneIndexType, FBoneIndexType > & OutBonesToReplace,
const TArray< FName > * BoneNamesToRemove
)
Get Bones To Remove from the Desired LOD List of bones to remove should contains
true if any bone to be replaced
Parameter |
Description |
---|---|
SkeletalMesh |
: SkeletalMesh to test |
DesiredLOD |
: 0 isn't valid as this will only test from [LOD 1, LOD (N-1)] since Skeleton doesn't save any bones to remove setting on based LOD |
OutBonesToReplace |
: List of bones to replace with a pair of [bone index, bone index to replace to] |