compress Method

Compress the instance by equating duplicate data.

  • Search for duplicates within points, normals, params, and colors.
  • Compress each data array.
  • Revise all indexing for the relocated data.

compress(tolerance: numberGeometry.smallMetricDistance): void

Parameter Type Description
tolerance number (optional) tolerance for clustering mesh vertices. Default is smallMetricDistance.

Returns - void

Defined in

Last Updated: 04 May, 2024