/Engine/Source/Runtime/Engine/Public/ReferenceSkeleton.h
Removes the supplied bones from the skeleton, unless they have children that aren't also going to be removed
[TArray](API\Runtime\Core\Containers\TArray)< int32 > RemoveBonesByName ( [USkeleton](API\Runtime\Engine\Animation\USkeleton) * Skeleton, const [TArray](API\Runtime\Core\Containers\TArray)< [FName](API\Runtime\Core\UObject\FName) > & BonesToRemove )