# RayRegion

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

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

A ray-based load region. Only tiles that intersect `ray` are loaded.

## Constructor

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

- `options`, `Object`, optional
  - `ray`, `Ray`, optional: The ray; defaults to a ray at the origin pointing in +Z.
  - `errorTarget`, `number`, optional, default `10`: Geometric error target for tiles inside the region.
  - `mask`, `boolean`, optional, default `false`: Mask mode — suppresses tiles outside this region.
