voxolith
API reference@voxolith/gen-buildingFunctions

buildRoles()

The building's role table in voxel-value order, coloured from colors (usually skinFor), with material hints on four roles: GLASS is glass, GLASSLIT emits, and HANDLE and GUTTER are metal. A role colors leaves out shows magenta.

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

Defined in: roles.ts:76

Parameters

ParameterType
colorsColorSet

Returns

Role[]

On this page