Navigation
API > API/Runtime > API/Runtime/GeometryCore > API/Runtime/GeometryCore/Selections > API/Runtime/GeometryCore/Selections/FMeshConnectedComponents
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 |
static void GrowToConnectedEdges
(
const FDynamicMesh3 & Mesh,
const TArray < int > & InputROI,
TSet < int > & ResultROI,
TArray < int32 > * QueueBuffer,
TFunctionRef < bool, int32 )> CanGrowPredicate
)
Remarks
Utility function to expand an edge selection to all edges considered "connected".
Parameters
| Name | Description |
|---|---|
| Mesh | Mesh to calculate on |
| InputROI | input set of edges |
| ResultROI | output set of edges connected to InputROI |
| QueueBuffer | optional buffer used as internal Queue. If passed as nullptr, a TArray will be locally allocated |
| CanGrowPredicate | determines whether two connected mesh edges should be considered connected while growing |