# QuantizedMeshPlugin

class in `3d-tiles-renderer/three/plugins`

```js
import { QuantizedMeshPlugin } from '3d-tiles-renderer/three/plugins';
```

Plugin that adds support for the Cesium quantized-mesh terrain format. Fetches the
`layer.json` descriptor from the tileset root and dynamically generates 3D Tiles
tile content from quantized-mesh buffers.

## Constructor

```js
new QuantizedMeshPlugin( options?: Object )
```

- `options`, `Object`, optional
  - `useRecommendedSettings`, `boolean`, optional, default `true`: Apply recommended error and fetch settings for terrain.
  - `skirtLength`, `number | null`, optional, default `null`: Override skirt length in metres; defaults to tile geometric error.
  - `smoothSkirtNormals`, `boolean`, optional, default `true`: Blend skirt normals with tile surface for smoother edges.
  - `generateNormals`, `boolean`, optional, default `true`: Compute vertex normals for the terrain mesh.
  - `solid`, `boolean`, optional, default `false`: Generate a solid closed mesh (adds a bottom cap).
