OptionalbuildMilliseconds per frame spent generating tiles, nearest first.
OptionalcameraCamera the tiles follow. Defaults to the R3F default camera.
OptionallayersLayers to scatter; replaces the previous list. Missing layer fields take their defaults.
OptionallodFractional band around LOD distances that an instance must cross before switching level (stops flicker).
OptionalmaxNothing is generated beyond this distance from the camera (each layer also stops at its last LOD distance).
OptionalrefReceives the underlying Scatter instance (for query, stats, sampleHeight, …).
OptionalrefreshHow far (metres) the camera moves before instances are re-sorted into levels of detail.
OptionalseedWorld seed. Same seed + same layers = same placement.
OptionalterrainMesh/group (or a ref to one), baked when the component mounts or the object changes, or a (x, z) => y height
function. Inline functions are fine: the latest one is always used, but tiles already generated keep their heights
(call scatter.setTerrain() to force a rebuild).
OptionaltileEdge length of a streaming tile, in metres.
Props of the
<Scatter>component: every ScatterInput setting plus the ones below.