Navigation
API > API/Plugins > API/Plugins/DynamicMesh
Description
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.
| Name | UE::Geometry::EnumerateSelectionTriangles |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryProcessing/Source/DynamicMesh/Public/Selections/GeometrySelectionUtil.h |
| Include Path | #include "Selections/GeometrySelectionUtil.h" |
| Source | /Engine/Plugins/Runtime/GeometryProcessing/Source/DynamicMesh/Private/Selections/GeometrySelectionUtil.cpp |
namespace UE
{
namespace Geometry
{
bool UE::Geometry::EnumerateSelectionTriangles
(
const FGeometrySelection & MeshSelection,
const UE::Geometry::FDynamicMesh3 & Mesh,
TFunctionRef < void> TriangleFunc,
const UE::Geometry::FPolygroupSet * UseGroupSet
)
}
}