IMeshBoneReduction::GetBoneReductionData

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

References

Module

MeshBoneReduction

Header

/Engine/Source/Developer/MeshBoneReduction/Public/MeshBoneReduction.h

Include

#include "MeshBoneReduction.h"

Syntax

bool GetBoneReductionData
(
    const USkeletalMesh * SkeletalMesh,
    int32 DesiredLOD,
    TMap< FBoneIndexType, FBoneIndexType > & OutBonesToReplace,
    const TArray< FName > * BoneNamesToRemove
)

Remarks

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

Returns

true if any bone to be replaced

Parameters

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]

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Cancel