Skip to content

1681-engine / pixel / rampTones

Function: rampTones() ​

ts
function rampTones(c, material): number[];

Defined in: src/pixel/ramp.ts:188

Every tone of c's ramp, for masking a material cue to that material.

Parameters ​

ParameterType
cnumber
materialMaterial

Returns ​

number[]

Released under the MIT License.