Module |
|
Header |
/Engine/Plugins/Experimental/GeometryProcessing/Source/DynamicMesh/Public/DynamicMeshEditor.h |
Include |
#include "DynamicMeshEditor.h" |
enum EDuplicateTriBehavior
{
EnsureContinue,
EnsureAbort,
UseExisting,
Replace,
}
Name |
Description |
---|---|
EnsureContinue |
|
EnsureAbort |
|
UseExisting |
|
Replace |
In ReinsertSubmesh, a problem can arise where the mesh we are inserting has duplicate triangles of the base mesh.
This can lead to problematic behavior later. We can do various things, like delete and replace that existing triangle, or just use it instead of adding a new one. Or fail, or ignore it.
This enum/argument controls the behavior. However, fundamentally this kind of problem should be handled upstream!! For example by not trying to remesh areas that contain nonmanifold geometry...