Module |
|
Header |
/Engine/Plugins/Experimental/GeometryProcessing/Source/DynamicMesh/Public/DynamicMesh3.h |
Include |
#include "DynamicMesh3.h" |
Source |
/Engine/Plugins/Experimental/GeometryProcessing/Source/DynamicMesh/Private/DynamicMesh3_Edits.cpp |
EMeshResult RemoveTriangle
(
int TriangleID,
bool bRemoveIsolatedVertices,
bool bPreserveManifold
)
Remove a triangle from the mesh. Also removes any unreferenced edges after tri is removed. If bRemoveIsolatedVertices is false, then if you remove all tris from a vert, that vert is also removed. If bPreserveManifold, we check that you will not create a bow tie vertex (and return false). If this check is not done, you have to make sure you don't create a bow tie, because other code assumes we don't have bow ties, and will not handle it properly