Navigation
API > API/Runtime > API/Runtime/GeometryCore > API/Runtime/GeometryCore/FMeshConnectedComponents
Description
Find all connected vertex components that contain one or more Seed Vertices and store in Components array. Search only starts from Seed Vertices.
| Name | FindVerticesConnectedToSeeds |
| Type | function |
| Header File | /Engine/Source/Runtime/GeometryCore/Public/Selections/MeshConnectedComponents.h |
| Include Path | #include "Selections/MeshConnectedComponents.h" |
| Source | /Engine/Source/Runtime/GeometryCore/Private/Selections/MeshConnectedComponents.cpp |
void FindVerticesConnectedToSeeds
(
const TArray < int > & SeedVertices,
TFunction < bool> VertsConnectedPredicate
)
Parameters
| Name | Remarks |
|---|---|
| SeedVertices | list of start vertices, each component contains at least one of these vertices |
| VertsConnectedPredicate | optional function that specifies whether two edge-connected vertices should be considered connected by the search |