Navigation
API > API/Runtime > API/Runtime/GeometryCore > API/Runtime/GeometryCore/DynamicMesh > API/Runtime/GeometryCore/DynamicMesh/TDynamicMeshOverlay
References
| Module | GeometryCore |
| Header | /Engine/Source/Runtime/GeometryCore/Public/DynamicMesh/DynamicMeshOverlay.h |
| Include | #include "DynamicMesh/DynamicMeshOverlay.h" |
| Source | /Engine/Source/Runtime/GeometryCore/Private/DynamicMesh/DynamicMeshOverlay.cpp |
void UnsetTriangle
&40;
int TriangleID,
bool bAllowElementFreeing
&41;
Remarks
Set the triangle to have InvalidID element IDs, decrementing element reference counts if needed.
Parameters
| Name | Description |
|---|---|
| bAllowElementFreeing | If true, then any elements that were only referenced by this triangle become immediately unallocated. This can be set to false as part of a remeshing, but then it should eventually be followed by a call to FreeUnusedElements(). |