Login - Create Account

Remapper (Color to Checkbox)

Remapper (Color to Checkbox)

This remapper lets you specify how the Color control affects the target checkbox input. The remapper is visible only when Use Remapping is turned on in the properties of the Color control component. For more information on how remapping works, see Remappers.

The remapper works as follows: if the grayscale level of the color provided by the Color control (calculated by averaging its R, G and B channels) is greater than the Threshold value, the target checkbox becomes 'checked', otherwise it becomes 'unchecked' (when Invert is turned on, these states get reversed).

This remapper always has a control warning displayed near it – this is because controlling checkbox inputs with Color components produces non-intuitive filter controls and therefore is not recommended. Select the Control Warning in the Filter Editor to see which control component would be more suitable for this situation.

Threshold

Defines the threshold percentage. If the grayscale level of the color provided by the Color control is greater than the Threshold value, the target checkbox will become 'checked', otherwise it will stay 'unchecked'. The resulting checkbox state is also affected by Invert.

Invert

When turned on, inverts the resulting checkbox state.