Navigation
API > API/Plugins > API/Plugins/DynamicMesh > API/Plugins/DynamicMesh/Selections
References
| Module | DynamicMesh |
| Header | /Engine/Plugins/Runtime/GeometryProcessing/Source/DynamicMesh/Public/Selections/GeometrySelectionUtil.h |
| Include | #include "Selections/GeometrySelectionUtil.h" |
| Source | /Engine/Plugins/Runtime/GeometryProcessing/Source/DynamicMesh/Private/Selections/GeometrySelectionUtil.cpp |
namespace UE
{
namespace Geometry
{
bool UE&58;&58;Geometry&58;&58;EnumerateSelectionTriangles
&40;
const FGeometrySelection & MeshSelection,
const UE::Geometry::FDynamicMesh3 & Mesh,
TFunctionRef< void(int32)> TriangleFunc,
const UE::Geometry::FPolygroupSet &42; UseGroupSet
&41;
}
}
Remarks
Call TriangleFunc for each mesh TriangleID included in MeshSelection. TriangleFunc may be called multiple times for the same TriangleID. This will forward to EnumerateTriangleSelectionTriangles() or EnumeratePolygroupSelectionTriangles() depending on the selection topology type. If UseGroupSet and MeshSelection is for polygroups, the default Mesh group layer will be used.