Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

TrackScatterOptions

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.
track Track undefined -