USkeleton::DoesParentChainMatch

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

Windows
MacOS
Linux

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

Syntax

bool DoesParentChainMatch
(
    int32 StartBoneTreeIndex,
    const USkeletalMesh * InSkelMesh
) const

Remarks

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

Returns

true if matches till root. false if not.

Parameters

Parameter

Description

StartBoneIndex

: BoneTreeIndex to start from in BoneTree

InSkelMesh

: SkeletalMesh to compare

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