ROLE
Voxel value of every colour role a tree writes. Fixed and ordered, since a baked .vox carries them: role r is described by buildRoles(colors)[r - 1].
const ROLE: object;Defined in: tree/src/roles.ts:14
Type Declaration
BARK_DARK
readonly BARK_DARK: 2 = 2;BARK_LIGHT
readonly BARK_LIGHT: 4 = 4;BARK_MID
readonly BARK_MID: 3 = 3;BLOSSOM
readonly BLOSSOM: 15 = 15;CONE
readonly CONE: 17 = 17;CREVICE
readonly CREVICE: 6 = 6;Baked occlusion in crotches and under limbs.
HEART
readonly HEART: 1 = 1;Inner wood, only visible where a tree is cut or broken.
LEAF_ACCENT
readonly LEAF_ACCENT: 13 = 13;LEAF_DEAD
readonly LEAF_DEAD: 14 = 14;LEAF_EDGE
readonly LEAF_EDGE: 12 = 12;Outer rim of a cluster; reads as backlit.
LEAF_HI
readonly LEAF_HI: 9 = 9;LEAF_LO
readonly LEAF_LO: 11 = 11;LEAF_MID
readonly LEAF_MID: 10 = 10;MOSS
readonly MOSS: 5 = 5;SNOW
readonly SNOW: 16 = 16;TWIG
readonly TWIG: 7 = 7;TWIG_DARK
readonly TWIG_DARK: 8 = 8;