Skip to content

scatterCell

scatterCell(p, ground): Plant[]

Defined in: sdk/src/foliage/builder.ts:74

The plants of one cell: count tries at random places, each kept only where the ground is gentle enough and in the height band. Positions come back relative to the cell’s centre, with the ground’s height already in them.

ScatterParams

Ground

Plant[]