FoliageParams
Which leaves exist: broadleaf clumps on the twigs or conifer needle sheaths, and how they are carved.
Defined in: tree/src/params.ts:79
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
clusterFlatten | number | Vertical squash of a cluster. | tree/src/params.ts:85 |
clusterRadius | number | Broadleaf cluster radius in voxels at height 192. | tree/src/params.ts:83 |
coneExp | number | Conifer: conical envelope exponent and radius as a fraction of height. | tree/src/params.ts:102 |
crownRadiusRatio | number | - | tree/src/params.ts:103 |
enabled | boolean | Grow foliage at all; off leaves the bare wood. | tree/src/params.ts:81 |
fillCore | number | Noise threshold at the cluster core and rim; higher removes more. | tree/src/params.ts:91 |
fillRim | number | - | tree/src/params.ts:92 |
macroScale | number | Frequency and threshold of the sky-hole carve. | tree/src/params.ts:96 |
macroThreshold | number | - | tree/src/params.ts:97 |
sheathFill | number | - | tree/src/params.ts:100 |
sheathRadius | number | Conifer: needle sheath radius around a branch axis. | tree/src/params.ts:99 |
shellDepth | number | Drop leaves deeper than this below the canopy hull. 0 disables. | tree/src/params.ts:94 |
spacing | number | Distance between attachment points along a twig, in voxels. | tree/src/params.ts:87 |
tipBoost | number | Radius multiplier for the cluster on each twig tip. | tree/src/params.ts:89 |
whorlGap | number | Conifer: empty voxels kept above each whorl plane. | tree/src/params.ts:105 |