/Engine/Source/Runtime/GeometryCore/Public/Operations/LocalPlanarSimplify.h
Class to support local planar simplification, to reduce excess edges created by plane cuts, edge loop insertions, and similar operations (Note a custom version of this logic also exists on theFMeshBooleanclass)
class FLocalPlanarSimplify
bool
bPreserveOverlayUVs
Prevent simplification from distorting overlay UVs
bool
bPreserveTriangleGroups
Prevent simplification from distorting triangle groups
bool
bPreserveVertexNormals
Prevent simplification from distorting vertex normals
bool
bPreserveVertexUVs
Prevent simplification from distorting vertex UVs
float
NormalDistortTolerance
When preserving normals, sets maximum allowed change in normals from collapsing an edge, measured at the removed vertex in degrees
double
SimplificationAngleTolerance
Degrees of deviation from coplanar that we will still simplify
double
TryToImproveTriQualityThreshold
If triangle quality (aspect ratio) is worse than this threshold, only simplify in ways that improve quality.
float
UVDistortTolerance
When preserving UVs, sets maximum allowed change in UV coordinates from collapsing an edge, measured at the removed vertex