Navigation
API > API/Plugins > API/Plugins/ModelingComponents > API/Plugins/ModelingComponents/Selection
Deprecated * PersistentMeshSelection and related functions are deprecated. GetStoredSelectionAsTriangles now always returns an empty TrianglesOut list.
References
| Module | ModelingComponents |
| Header | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Public/Selection/StoredMeshSelectionUtil.h |
| Include | #include "Selection/StoredMeshSelectionUtil.h" |
| Source | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Private/Selection/StoredMeshSelectionUtil.cpp |
namespace UE
{
namespace Geometry
{
bool UE&58;&58;Geometry&58;&58;GetStoredSelectionAsTriangles
&40;
const UDEPRECATED_PersistentMeshSelection &42; Selection,
const FDynamicMesh3 & Mesh,
TArray< int32 > & TrianglesOut
&41;
}
}
Remarks
Convert the given Seletion to a list of Triangles of the specified Mesh. This will attempt to convert the different selection types represented by PersistentMeshSelection (eg group topology, UV island, etc) to triangle indices in TrianglesOut true if a list of triangles could be created.