cloneParams()
Copy of the params, so presets are never mutated by a caller.
function cloneParams(p: CreatureParams): CreatureParams;Defined in: params.ts:61
Parameters
| Parameter | Type |
|---|---|
p | CreatureParams |
Returns
buildRoles()
The creature's role table in voxel-value order, coloured from colors (usually skinFor), with glossy material hints on the eyes, organs and blood. A role colors leaves out shows magenta.
generateCreature()
Generate a rigged, animated creature: the rest-pose body built bone by bone, layered inside by depth (fur, fat, flesh, muscle) with bones and organs below the surface, painted, bound to a 26-bone rig, and given walk, turn, run, idle, sniff and death clips at 12 fps. The rig's cover table draws...