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
| Parameter | Type |
|---|---|
coat | Coat |
redEyes | boolean |
belly | number |
Returns
registerCreatureGenerators()
Register the creature generator with the engine registry.
CreatureParams
Everything a creature is made from: shape the body and its rig, look the colours, gait how the generated clips move. Shape lengths are multipliers on the species' proportions (1 is the default rat), with size scaling everything. Presets in PRESETS.