USkinnedMeshComponent::GetSocketBoneName

Returns bone name linked to a given named socket on the skeletal mesh component.

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

FName GetSocketBoneName
(
    FName InSocketName
) const

Remarks

Returns bone name linked to a given named socket on the skeletal mesh component. If you're unsure to deal with sockets or bones names, you can use this function to filter through, and always return the bone name.

Returns

bone name

Parameters

Parameter

Description

bone

name or socket name