Navigation
API > API/Runtime > API/Runtime/GeometryCore > API/Runtime/GeometryCore/FVertexConnectedComponents
References
| Module | GeometryCore |
| Header | /Engine/Source/Runtime/GeometryCore/Public/VertexConnectedComponents.h |
| Include | #include "VertexConnectedComponents.h" |
bool EnumerateContiguousComponentsFromArray
(
const TArray < int32 > & ContiguousComponentsArray,
TFunctionRef < bool, TArrayView < const int32 >)> ProcessComponentFn
)
Remarks
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.
Parameters
| Name | Description |
|---|---|
| ContiguousComponentsArray | Must be the array returned by MakeContiguousComponentsArray() |
| ProcessComponentFn | Function of (ComponentID, Component Members). If the function returns false, enumeration will stop. |