FDynamicMeshEditor::RemoveTriangles

Remove a list of triangles from the mesh, and optionally any vertices that are now orphaned

Windows
MacOS
Linux

References

Module

DynamicMesh

Header

/Engine/Plugins/Experimental/GeometryProcessing/Source/DynamicMesh/Public/DynamicMeshEditor.h

Include

#include "DynamicMeshEditor.h"

Source

/Engine/Plugins/Experimental/GeometryProcessing/Source/DynamicMesh/Private/DynamicMeshEditor.cpp

Syntax

bool RemoveTriangles
(
    const TArray< int > & Triangles,
    bool bRemoveIsolatedVerts,
    TFunctionRef< void> OnRemoveTriFunc
)

Remarks

Remove a list of triangles from the mesh, and optionally any vertices that are now orphaned

Returns

true if all removes succeeded

Parameters

Parameter

Description

Triangles

the triangles to remove

bRemoveIsolatedVerts

if true, remove vertices that end up with no triangles

OnRemoveTriFunc

called for each triangle to be removed

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss