Geometry · interface

FilmPatchOptions

Explained in Hello world, Meshes and geometry.

interface FilmPatchOptions
import type { FilmPatchOptions } from '@driftengine/core';

Properties

NameTypeDescription
fromMnumberArc-length window on the curve.
toMnumber
centreMnumberLateral centre and half-width, metres from the centreline.
halfWidthMnumber
liftMnumberHeight above the surface. Small: this is a film, not a kerb.
colorVec3
seednumberShape 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.