Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Animation/Skeleton.h |
Include |
#include "Animation/Skeleton.h" |
Source |
/Engine/Source/Runtime/Engine/Private/Animation/Skeleton.cpp |
bool DoesParentChainMatch
(
int32 StartBoneTreeIndex,
const USkeletalMesh * InSkelMesh
) const
Check if Parent Chain Matches between BoneTree, and SkelMesh Meaning if BoneTree has A->B->C (top to bottom) and if SkelMesh has A->C It will fail since it's missing B We ensure this chain matches to play animation properly
true if matches till root. false if not.
Parameter |
Description |
---|---|
StartBoneIndex |
: BoneTreeIndex to start from in BoneTree |
InSkelMesh |
: SkeletalMesh to compare |