# TMSTilesOverlay

class in `3d-tiles-renderer/three/plugins`, extends `TiledImageOverlay`

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

Overlay that renders TMS (Tile Map Service) image tiles on top of 3D tile geometry.
See the `TMS specification`.

## Constructor

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

- `options`, `Object`, optional
  - `url`, `string`, optional: URL to the TMS `tilemapresource.xml` descriptor or tile template.
  - `opacity`, `number`, optional, default `1`: Overlay opacity (0–1).
  - `color`, `number | Color`, optional, default `0xffffff`: Tint color.
  - `frame`, `Matrix4`, optional, default `null`: Planar projection frame. If null, cartographic projection is used.
  - `preprocessURL`, `function`, optional, default `null`: URL rewriting callback.
  - `alphaMask`, `boolean`, optional, default `false`: Use alpha channel as a surface mask.
  - `alphaInvert`, `boolean`, optional, default `false`: Invert the alpha channel.
