TrackScatterProps
Defined in: packages/engine/src/components/TrackScatter.tsx:11
Extends
Section titled “Extends”Properties
Section titled “Properties”| Property | Type | Default value | Description |
|---|---|---|---|
clear? |
number |
0 |
Metres a row keeps from every single copy: a row copy nearer steps out that far, away from the centerline, or is left out. |
models |
Record<ModelName, number> |
undefined |
Each model’s name and how often it is drawn, such as { fir: 3, spruce: 1 }. |
placements |
(TrackScatterCopy | TrackScatterRow)[] |
undefined |
Single copies and rows, in track coordinates. |
surface? |
BufferGeometry<NormalBufferAttributes, BufferGeometryEventMap> |
undefined |
The drawn ground each copy is seated on, by a ray straight down; a copy with none under it is left out. Left out, copies stand on the track’s own height. |
tint? |
(index, model) => ColorRepresentation |
undefined |
The colour a copy is multiplied by, from its index among its model’s copies, a key to hash. Left out, copies keep the model’s own colours. |
track |
Track |
undefined |
- |