Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/USkinnedMeshComponent
Description
Override this function to add any additional required bones from followers to functions such as USkeletalMeshComponent::ComputeRequiredBones(). The additional bones will need to be passed using the Leader's bone index mapping, sorted in hierarchical order, and merged into the InOutRequiredBones array.
| Name | GetAdditionalRequiredBonesForLeader |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Components/SkinnedMeshComponent.h |
| Include Path | #include "Components/SkinnedMeshComponent.h" |
virtual void GetAdditionalRequiredBonesForLeader
(
int32 LODIndex,
TArray < FBoneIndexType > & InOutRequiredBones
) const
Parameters
| Name | Remarks |
|---|---|
| LODIndex | the LOD to get the required bones for. |
| InOutRequiredBones | the array in which to merge the additional required bones. |