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;EnumerateTriangleSelectionElements
&40;
const FGeometrySelection & MeshSelection,
const UE::Geometry::FDynamicMesh3 & Mesh,
TFunctionRef< void(int32, const FVector3d &)> VertexFunc,
TFunctionRef< void(int32, const FSegment3d &)> EdgeFunc,
TFunctionRef< void(int32, const FTriangle3d &)> TriangleFunc,
const FTransform &42; ApplyTransform,
bool bMapFacesToEdgeLoops
&41;
}
}
Remarks
Call VertexFunc/EdgeFunc/TriangleFunc for the vertices/edges/triangles identified by MeshSelection. Since a MeshSelection only stores vertices, edges, or triangles, but not combined, only one of these functions will be invoked during a call to this function. This function is useful to collect up geometry that needs to be rendered for a given MeshSelection
Parameters
| Name | Description |
|---|---|
| ApplyTransform | if non-null, transform is applied to the 3D geometry |