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 FreeUnusedElements
&40;
const TSet< int > &42; ElementsToCheck
&41;
Remarks
Goes through elements and frees any whose reference counts indicate that they are not being used. This is usually not necessary since most operations that remove references will go ahead and do this, but it may be used, for instance, after SetTriangle is called with bAllowElementFreeing set to false.
Parameters
| Name | Description |
|---|---|
| ElementsToCheck | If provided, only these element ID's will be checked. |