Navigation
API > API/Runtime > API/Runtime/GeometryCore > API/Runtime/GeometryCore/Selections > API/Runtime/GeometryCore/Selections/FMeshConnectedComponents > API/Runtime/GeometryCore/Selections/FMeshConnectedComponents/FindConnectedTri-
References
| Module | GeometryCore |
| Header | /Engine/Source/Runtime/GeometryCore/Public/Selections/MeshConnectedComponents.h |
| Include | #include "Selections/MeshConnectedComponents.h" |
| Source | /Engine/Source/Runtime/GeometryCore/Private/Selections/MeshConnectedComponents.cpp |
void FindConnectedTriangles
(
const TArray < int > & TriangleROI,
TFunction < bool, int32 )> TrisConnectedPredicate
)
Remarks
Find all connected triangle components of a subset of triangles of the Mesh and store in Components array. Triangle connectivity is based on edge connectivity, ie bowtie-vertices are not connections between triangles.
Parameters
| Name | Description |
|---|---|
| TriangleROI | list of triangles to search across |
| TrisConnectedPredicate | optional function that specifies whether two edge-connected triangles should be considered connected by the search |