voxolith
API reference@voxolith/gen-rockFunctions

buildRoles()

The rock's role table in voxel-value order, coloured from colors (usually skinFor); a role colors leaves out shows magenta.

function buildRoles(colors: ColorSet): Role[];

Defined in: roles.ts:38

Parameters

ParameterType
colorsColorSet

Returns

Role[]

On this page