/Engine/Source/Runtime/GeometryCore/Public/VertexConnectedComponents.h
Apply ProcessComponentFn() to each connected component, or until the function returns false
True if every component was processed, false if ProcessComponentFn returned false and the enumeration returned early.
bool EnumerateContiguousComponentsFromArray ( const [TArray](API\Runtime\Core\Containers\TArray)< int32 > & ContiguousComponentsArray, [TFunctionRef](API\Runtime\Core\GenericPlatform\TFunctionRef)< bool(int32, [TArrayView](API\Runtime\Core\Containers\TArrayView)< const int32 >)> ProcessComponentFn )