USkinnedMeshComponent::BoneIsChildOf

Tests if BoneName is child of (or equal to) ParentBoneName.

Choose your operating system:

Windows

macOS

Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Components/SkinnedMeshComponent.h

Include

#include "Components/SkinnedMeshComponent.h"

Source

/Engine/Source/Runtime/Engine/Private/Components/SkinnedMeshComponent.cpp

Syntax

bool BoneIsChildOf
(
    FName BoneName,
    FName ParentBoneName
) const

Remarks

Tests if BoneName is child of (or equal to) ParentBoneName.

  • will return false if ChildBoneIndex is the same as ParentBoneIndex ie. must be strictly a child.

Returns

true if child (strictly, not same). false otherwise

Parameters

Parameter

Description

BoneName

Name of the bone

ParentBone

Name to check