Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/USkeletalMesh
Description
Find a socket object 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()
| Name | FindSocketAndIndex |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/SkeletalMesh.h |
| Include Path | #include "Engine/SkeletalMesh.h" |
| Source | /Engine/Source/Runtime/Engine/Private/SkeletalMesh.cpp |
UFUNCTION (BlueprintCallable, Category="Animation")
USkeletalMeshSocket * FindSocketAndIndex
(
FName InSocketName,
int32 & OutIndex
) const