voxolith
API reference@voxolith/gen-terrainFunctions

buildRoles()

The terrain's role table in voxel-value order, coloured from colors; WATER carries the water material, which the renderer animates. A role colors leaves out shows magenta.

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

Defined in: roles.ts:56

Parameters

ParameterTypeDefault value
colors?ColorSetSUMMER

Returns

Role[]

On this page