*Inheritance: EventDispatcher → BufferGeometry →*

# RollerCoasterShadowGeometry

A procedural roller coaster shadow geometry.

## Import

RollerCoasterShadowGeometry is an addon, and must be imported explicitly, see [Installation#Addons](https://threejs.org/manual/#installation#addons).

```js
import { RollerCoasterShadowGeometry } from 'three/addons/misc/RollerCoaster.js';
```

## Constructor

### new RollerCoasterShadowGeometry( curve : Curve, divisions : number )

Constructs a new geometry.

**curve**

The curve to generate the geometry along.

**divisions**

The number of divisions which defines the detail of the geometry.

## Source

[examples/jsm/misc/RollerCoaster.js](https://github.com/mrdoob/three.js/blob/master/examples/jsm/misc/RollerCoaster.js)