USkinnedMeshComponent::GetSocketInfoByName

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

USkeletalMeshSocket const * GetSocketInfoByName
(
    FName InSocketName,
    FTransform & OutTransform,
    int32 & OutBoneIndex
) const

Returns

SkeletalMeshSocket of named socket on the skeletal mesh component, or NULL if not found.

Parameters

Parameter

Description

InSocketName

The name of the socket to find

OutBoneIndex

The socket bone index in this skeletal mesh, or INDEX_NONE if the socket is not found or not a bone-relative socket

OutTransform

The socket local transform, or identity if the socket is not found.