Navigation
API > API/Runtime > API/Runtime/GeometryCore > API/Runtime/GeometryCore/FDynamicMesh3
Description
Mesh Edit operations Compact mesh in-place, by moving vertices around and rewriting indices. Should be faster if the amount of compacting is not too significant, and is useful in some places.
| Name | CompactInPlace |
| Type | function |
| Header File | /Engine/Source/Runtime/GeometryCore/Public/DynamicMesh/DynamicMesh3.h |
| Include Path | #include "DynamicMesh/DynamicMesh3.h" |
| Source | /Engine/Source/Runtime/GeometryCore/Private/DynamicMesh/DynamicMesh3_Edits.cpp |
void CompactInPlace
(
FCompactMaps * CompactInfo
)
Parameters
| Name | Remarks |
|---|---|
| CompactInfo | if not nullptr, will be filled with mapping indicating how vertex and triangle IDs were changed during compaction |