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;ConvertTriangleSelectionToOverlaySelection
&40;
const UE::Geometry::FDynamicMesh3 & Mesh,
const FGeometrySelection & MeshSelection,
TSet< int > & TrianglesOut,
TSet< int > & VerticesOut
&41;
}
}
Remarks
Convert the given MeshSelection to a list of Triangles and Vertices into the Mesh, which can be used to represent a selection of overlay elements. This is always possible since any FGeometrySelection can be represented as an overlay element selection because any overlay element can be represented as a (Triangle,Vertex) pair.
it is not necessarily the case that all vertices of triangles in TrianglesOut will be in VerticesOut. false if the MeshSelection topology type is not Triangle and true otherwise