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.

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