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

ScatterRefTrait

const ScatterRefTrait: Trait<{ object: () => Object3D<Object3DEventMap> | null; }>

The object ScatterView draws the scatter’s batches in. Apart from the ground’s Ref, which is its own mesh, the one the navmesh bakes from: the pick walks a hit on a tree up to the ground through this.