Skip to content

presetFoliage beta ​

Variable of @v12-engine/client/common

ts
presetFoliage: Readonly<Record<PresetFoliageName, MapBushStyle>>

Ready-made looks of grass, by name: a short meadow with a few flowers in it, tall grass, dry grass, reeds, wheat, grass in snow, a thicket and a hedge. Each a look as data: foliage(presetFoliage.meadow), foliage( ...presetFoliage.meadow, styles: 2: presetFoliage.tallGrass ), or written to a map or cellLayers.json. Their rules, by the same names, are the engine's presetFoliageStyles