Talos docs

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.

Plain text

Fields

FieldTypeRequiredDefaultAllowed valuesDescription
instancesstringyesThe child entity whose instancedMesh holds this prototype's plants.
weightnumberno1Share of the plants a brush places as this prototype, against the others' weights. Default 1.
scaleunknown[]no[0.8,1.2]Uniform scale range [min, max]. Default [0.8, 1.2].
yawRandombooleannotrueTurn each plant about its up axis at random. Default true.
alignToNormalnumberno00: stand upright; 1: lean fully onto the ground's slope. Default 0.
minSpacingnumbernoMetres no two plants of the layer stand closer than. Default half the layer's cell (1 / sqrt(density) / 2).