voxolith
API reference@voxolith/gen-rockVariables

ROLE

Voxel value of every colour role a rock writes. Fixed and ordered: role r is described by buildRoles(colors)[r - 1].

const ROLE: object;

Defined in: roles.ts:11

Type Declaration

CRACK

readonly CRACK: 5 = 5;

LICHEN

readonly LICHEN: 8 = 8;

MOSS

readonly MOSS: 6 = 6;

MOSS_DARK

readonly MOSS_DARK: 7 = 7;

ROCK_DARK

readonly ROCK_DARK: 3 = 3;

ROCK_LIGHT

readonly ROCK_LIGHT: 1 = 1;

ROCK_MID

readonly ROCK_MID: 2 = 2;

SNOW

readonly SNOW: 10 = 10;

STRATA

readonly STRATA: 4 = 4;

Contrasting sedimentary band.

WET

readonly WET: 9 = 9;

Damp, darkened band at ground contact.

On this page