Defined in: packages/engine/src/render/trackScatter.ts:45
Copies spacing apart down a stretch of the track, each in the middle
of its own cell: a treeline, a line of posts.
| Property |
Type |
Default value |
Description |
across |
number |
undefined |
Metres across, positive to the right of travel, measured from from. |
end? |
number |
the track's length |
Metres along where it ends. |
from? |
"left" | "right" | "center" |
"center" |
The centerline, or the track’s left or right edge, as a TrackSectionPoint measures. |
height? |
number |
0 |
Metres above the surface it is seated on. |
jitter? |
number |
0 |
Metres a copy wanders across, the whole range. |
size? |
[number, number] |
[1, 1] |
The low and high multiple of the model’s size, spread evenly over the copies. |
slide? |
number |
0 |
The share of its cell a copy may slide along: under one, or neighbours leave a gap. |
spacing |
number |
undefined |
Metres between copies, above zero: the nearest spacing that cuts the stretch into whole cells, so a row ends where its stretch does. |
start? |
number |
0 |
Metres along where the row begins. |
stretch? |
[number, number] |
[1, 1] |
The low and high multiple of a copy’s height over its width, drawn apart, so squat and slender copies mix. |