← back to roto on ba3a.dev

ModelColours

data class ModelColours(val ramps: List<RampUse>, val usesOutline: Boolean, val outside: List<Int>)

Which ramps and steps a model's colours come from.

Constructors

Link copied to clipboard
constructor(ramps: List<RampUse>, usesOutline: Boolean, outside: List<Int>)

Properties

Link copied to clipboard

the figure colours that are in no ramp and are not the outline, as Argb, ascending

Link copied to clipboard

the ramps the model uses, in the order of the RampSet, each once

Link copied to clipboard

whether the model uses the project's outline colour

Functions

Link copied to clipboard

The usage in words, such as skin 1-3, cloth 2-5, outline: a ramp with its used steps (one number when only one step is used), then the outline, then the colours outside every ramp. Empty when the model uses none of them.