Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Animation > USkeleton
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Animation/Skeleton.h |
Include | #include "Animation/Skeleton.h" |
Source | /Engine/Source/Runtime/Engine/Private/Animation/Skeleton.cpp |
bool MergeBonesToBoneTree
&40;
const USkinnedAsset &42; InSkinnedAsset,
const TArray< int32 > & RequiredRefBones
&41;
Remarks
Merge Bones (RequiredBones from InSkinnedAsset) to BoneTrees if not exists
Note that this bonetree can't ever clear up because doing so will corrupt all animation data that was imported based on this If nothing exists, it will build new bone tree true if success
Parameters
Name | Description |
---|---|
InSkinnedAsset | : Mesh to build from. |
RequiredRefBones | : RequiredBones are subset of list of bones (index to InSkinnedAsset->RefSkeleton) Most of cases, you don't like to add all bones to skeleton, so you'll have choice of cull out some |