FoliagePrototype
Since 0.7
One kind of plant in a foliage layer: the instancedMesh child that holds its instances and how a brush places them.
Fields
| Field | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
instances | string | yes | The child entity whose instancedMesh holds this prototype's plants. | ||
weight | number | no | 1 | Share of the plants a brush places as this prototype, against the others' weights. Default 1. | |
scale | unknown[] | no | [0.8,1.2] | Uniform scale range [min, max]. Default [0.8, 1.2]. | |
yawRandom | boolean | no | true | Turn each plant about its up axis at random. Default true. | |
alignToNormal | number | no | 0 | 0: stand upright; 1: lean fully onto the ground's slope. Default 0. | |
minSpacing | number | no | Metres no two plants of the layer stand closer than. Default half the layer's cell (1 / sqrt(density) / 2). |