voxolith
API reference@voxolith/gen-creatureFunctions

skinFor()

Default role colours for a coat: fur tones and a belly mixed towards the coat's light belly colour by belly (0..1), eyes red when redEyes, and shared skin, claw and interior colours.

function skinFor(
   coat: Coat, 
   redEyes: boolean, 
   belly: number
): ColorSet;

Defined in: presets.ts:15

Parameters

ParameterType
coatCoat
redEyesboolean
bellynumber

Returns

ColorSet

On this page