Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Engine > USkeletalMesh
- USkinnedAsset::FindSocketInfo()
- USkeletalMesh::FindSocketInfo()
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Engine/SkeletalMesh.h |
Include | #include "Engine/SkeletalMesh.h" |
Source | /Engine/Source/Runtime/Engine/Private/SkeletalMesh.cpp |
virtual USkeletalMeshSocket &42; FindSocketInfo
&40;
FName InSocketName,
FTransform & OutTransform,
int32 & OutBoneIndex,
int32 & OutIndex
&41; const
Remarks
Find a socket object and asscociated info in this SkeletalMesh by name. Entering NAME_None will return NULL. If there are multiple sockets with the same name, will return the first one. Also returns the index for the socket allowing for future fast access via GetSocketByIndex() Also rteturns the socket loca transform and the bone index (if any)