Navigation
API > API/Plugins > API/Plugins/DynamicMesh > API/Plugins/DynamicMesh/Selections > API/Plugins/DynamicMesh/Selections/UE__Geometry__En-_5
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::Geometry::EnumeratePolygroupSelectionElements
(
const FGeometrySelection & MeshSelection,
const UE::Geometry::FDynamicMesh3 & Mesh,
const FGroupTopology * GroupTopology,
TFunctionRef < void, const FVector3d &)> VertexFunc,
TFunctionRef < void, const FSegment3d &)> EdgeFunc,
TFunctionRef < void, const FTriangle3d &)> TriangleFunc,
const FTransform * ApplyTransform,
const EEnumerateSelectionMapping Flags
)
}
}
Remarks
Enumerates the renderable geometry for a given MeshSelection when in Polygroup Topology mode.
Calls 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 differs from the component specific variants (ex. EnumeratePolygroupSelectionTriangles) by only collecting the renderable geometry representations of the selection. For instance, a polygroup face may only want to render the triangles and border edges, while EnumeratePolygroupSelectionTriangles would collect all triangles and edges within that polygroup face. This is the difference between render representation and component conversion.