Navigation
API > API/Plugins > API/Plugins/ChaosClothAsset > API/Plugins/ChaosClothAsset/FClothGeometryTools
Description
Remove (topologically) degenerate triangles. Remove any vertices that aren't in a triangle. Compact any lookup arrays that contain INDEX_NONEs. Remove any empty patterns.
| Name | CleanupAndCompactMesh |
| Type | function |
| Header File | /Engine/Plugins/ChaosClothAsset/Source/ChaosClothAsset/Public/ChaosClothAsset/ClothGeometryTools.h |
| Include Path | #include "ChaosClothAsset/ClothGeometryTools.h" |
| Source | /Engine/Plugins/ChaosClothAsset/Source/ChaosClothAsset/Private/ChaosClothAsset/ClothGeometryTools.cpp |
static void CleanupAndCompactMesh
(
const TSharedRef < FManagedArrayCollection > & ClothCollection
)