voxolith
API reference@voxolith/gen-grassVariables

ROLE

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

const ROLE: object;

Defined in: grass/src/roles.ts:10

Type Declaration

BLADE_DRY

readonly BLADE_DRY: 4 = 4;

Whole blades that have dried off.

BLADE_HI

readonly BLADE_HI: 3 = 3;

BLADE_LO

readonly BLADE_LO: 1 = 1;

Blade shading, dark at the base to light at the tip.

BLADE_MID

readonly BLADE_MID: 2 = 2;

FLOWER_A

readonly FLOWER_A: 7 = 7;

FLOWER_B

readonly FLOWER_B: 8 = 8;

FLOWER_C

readonly FLOWER_C: 9 = 9;

SEED

readonly SEED: 6 = 6;

SNOW

readonly SNOW: 10 = 10;

STALK

readonly STALK: 5 = 5;

Thicker upright stalks, for reeds and flower stems.

On this page