Geometry · interface
FilmPatchOptions
Explained in Hello world, Meshes and geometry.
interface FilmPatchOptionsimport type { FilmPatchOptions } from '@driftengine/core';Properties
| Name | Type | Description |
|---|---|---|
fromM | number | Arc-length window on the curve. |
toM | number | |
centreM | number | Lateral centre and half-width, metres from the centreline. |
halfWidthM | number | |
liftM | number | Height above the surface. Small: this is a film, not a kerb. |
color | Vec3 | |
seed | number | Shape seed. Two patches with the same window and the same seed are the same patch, which is what keeps a day's world identical on every device. |