Navigation
API > API/Plugins > API/Plugins/DynamicMesh > API/Plugins/DynamicMesh/TMeshSimplification
Description
Maximally collapse mesh in a way that does not change shape at all. This process does not involve quadric error at all.
| Name | SimplifyToMinimalPlanar |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryProcessing/Source/DynamicMesh/Public/MeshSimplification.h |
| Include Path | #include "MeshSimplification.h" |
| Source | /Engine/Plugins/Runtime/GeometryProcessing/Source/DynamicMesh/Private/MeshSimplification.cpp |
virtual void SimplifyToMinimalPlanar
(
double CoplanarAngleTolDeg,
TFunctionRef < bool> EdgeFilterPredicate
)
Parameters
| Name | Remarks |
|---|---|
| AngleTolDeg | two triangles are considered coplanar if their normals are within this angle tolerance |
| EdgeFilterPredicate | only edges that pass this predicate will be considered for collapse. Default all true. |