/Engine/Plugins/Runtime/GeometryProcessing/Source/DynamicMesh/Public/Polygroups/PolygroupSet.h
Calculate the current maximum PolygroupID used in the active set and store in MaxGroupID member
void RecalculateMaxGroupID()