USkinnedMeshComponent::GetBoneIndex

Find the index of bone by name.

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

int32 GetBoneIndex
(
    FName BoneName
) const

Remarks

Find the index of bone by name. Looks in the current SkeletalMesh being used by this SkeletalMeshComponent.

Returns

Index of the named bone in the current SkeletalMesh. Will return INDEX_NONE if bone not found.

Parameters

Parameter

Description

BoneName

Name of bone to look up

See Also

USkeletalMesh::GetBoneIndex.

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback