Choose your operating system:
Windows
macOS
Linux
Module |
|
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::Geometry::GetStoredSelectionAsTriangles
(
const UPersistentMeshSelection * Selection,
const FDynamicMesh3 & Mesh,
TArray< int32 > & TrianglesOut
)
}
}
Convert the given Seletion to a list of Triangles of the specified Mesh. This will attempt to convert the different selection types represented by UPersistentMeshSelection (eg group topology, UV island, etc) to triangle indices in TrianglesOut
true if a list of triangles could be created.