Navigation
API > API/Plugins > API/Plugins/DynamicMesh
Description
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.
| Name | UE::Geometry::ConvertPolygroupSelectionToIncidentOverlaySelection |
| 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::ConvertPolygroupSelectionToIncidentOverlaySelection
(
const UE::Geometry::FDynamicMesh3 & Mesh,
const FGroupTopology & GroupTopology,
const FGeometrySelection & MeshSelection,
TSet < int > & TrianglesOut,
TSet < int > & VerticesOut,
FGeometrySelection * TriangleVertexSelectionIncidentToEdgeOrVertexSelection
)
}
}
false if the MeshSelection topology type is not Polygroup and true otherwise