Configure Mesh Simplification with Smart Linking
masterThe MeshSimplifier class uses a SimplificationOptions struct to control the simplification process.
Smart Linking
Smart linking is enabled by default and helps prevent artifacts like holes in decimated meshes. You can toggle this via the EnableSmartLink field. Disabling it may provide a minor performance gain if your meshes do not require it.
Vertex Link Distance
You can adjust the maximum distance between two vertices for linking using the VertexLinkDistance field in SimplificationOptions. The default value is double.Epsilon. For large-scale meshes, you may need to increase this value to ensure vertices are correctly linked.