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::Geometry::ConvertPolygroupSelectionToIncidentOverlaySelection
(
const UE::Geometry::FDynamicMesh3 & Mesh,
const FGroupTopology & GroupTopology,
const FGeometrySelection & MeshSelection,
TSet < int > & TrianglesOut,
TSet < int > & VerticesOut,
FGeometrySelection * TriangleVertexSelectionIncidentToEdgeOrVertexSelection
)
}
}
Remarks
Like ConvertPolygroupSelectionToOverlaySelection but only includes overlay elements that are immediately incident to Polygroup Vertices/Edges.
If TriangleVertexSelectionIncidentToEdgeOrVertexSelection is not null and MeshSelection is an Edge or Vertex selection it will be set to a Vertex selection with Triangle Topology corresponding to the vertices touched by the edge selection. This is useful when users expect an edge selection to behave similarly to the incident vertex selection. false if the MeshSelection topology type is not Polygroup and true otherwise