Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/USkinnedMeshComponent
Description
Find the index of bone by name. Looks in the current SkeletalMesh being used by this SkeletalMeshComponent.
| Name | GetBoneIndex |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Components/SkinnedMeshComponent.h |
| Include Path | #include "Components/SkinnedMeshComponent.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Components/SkinnedMeshComponent.cpp |
UFUNCTION (BlueprintCallable, Category="Components|SkinnedMesh")
int32 GetBoneIndex
(
FName BoneName
) const
Index of the named bone in the current SkeletalMesh. Will return INDEX_NONE if bone not found.
Parameters
| Name | Remarks |
|---|---|
| BoneName | Name of bone to look up |
See Also
- USkeletalMesh::GetBoneIndex.