USkinnedMeshComponent::BoneIsChildOf

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

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.

Returns

true if child (strictly, not same). false otherwise Note - will return false if ChildBoneIndex is the same as ParentBoneIndex ie. must be strictly a child.

Parameters

Parameter

Description

BoneName

Name of the bone

ParentBone

Name to check

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