USkinnedMeshComponent::GetBoneIndex

Find the index of bone by name.

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

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.