IMeshBoneReduction::GetBoneReductionData

Get Bones To Remove from the Desired LOD List of bones to remove should contains

Unreal Engine C++ API Reference > Developer > MeshBoneReduction > IMeshBoneReduction

References

   
Module MeshBoneReduction
Header /Engine/Source/Developer/MeshBoneReduction/Public/MeshBoneReduction.h
Include #include "MeshBoneReduction.h"
bool GetBoneReductionData
(
    const [USkeletalMesh](API\Runtime\Engine\Engine\USkeletalMesh) * SkeletalMesh,
    int32 DesiredLOD,
    [TMap](API\Runtime\Core\Containers\TMap)< FBoneIndexType, FBoneIndexType > & OutBonesToReplace,
    const [TArray](API\Runtime\Core\Containers\TArray)< [FName](API\Runtime\Core\UObject\FName) > * BoneNamesToRemove
)

Remarks

Get Bones To Remove from the Desired LOD List of bones to remove should contains true if any bone to be replaced

Parameters

Name 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]

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library