Navigation
API > API/Plugins > API/Plugins/DynamicMesh > API/Plugins/DynamicMesh/FGroupVisualizationCache
Description
Update the GroupInfo array by finding group-connected components. Note that this may result in multiple GroupInfo items with the same GroupID, if they are not connected-components. Computing connected components is somewhat expensive. In addition, for each component, if it is more than 2 triangles it will be "eroded" down a single triangle to determine the group "center", also somewhat expensive. This step can be computed in parallel if bParallel is true.
| Name | UpdateGroupInfo_ConnectedComponents |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryProcessing/Source/DynamicMesh/Public/FaceGroupUtil.h |
| Include Path | #include "FaceGroupUtil.h" |
| Source | /Engine/Plugins/Runtime/GeometryProcessing/Source/DynamicMesh/Private/FaceGroupUtil.cpp |
void UpdateGroupInfo_ConnectedComponents
(
const FDynamicMesh3 & SourceMesh,
const FPolygroupSet & GroupSet,
bool bParallel
)