/Engine/Plugins/Runtime/GeometryProcessing/Source/DynamicMesh/Public/Selections/GeometrySelectionUtil.h
Call TriangleFunc for each mesh TriangleID included in MeshSelection. TriangleFunc may be called multiple times for the same TriangleID. This will forward toEnumerateTriangleSelectionTriangles()orEnumeratePolygroupSelectionTriangles()depending on the selection topology type. If UseGroupSet and MeshSelection is for polygroups, the default Mesh group layer will be used.
namespace UE { namespace Geometry { bool UE::Geometry::EnumerateSelectionTriangles ( const [FGeometrySelection](API\Plugins\DynamicMesh\Selections\FGeometrySelection) & MeshSelection, const [UE::Geometry::FDynamicMesh3](API\Runtime\GeometryCore\DynamicMesh\FDynamicMesh3) & Mesh, [TFunctionRef](API\Runtime\Core\GenericPlatform\TFunctionRef)< void(int32)> TriangleFunc, const [UE::Geometry::FPolygroupSet](API\Plugins\DynamicMesh\Polygroups\FPolygroupSet) * UseGroupSet ) } }