CustomModelDataTint

class CustomModelDataTint(val idx: Int? = 0, val defaultColor: Int) : Tint

A tint that is based on the custom model data value colors list.

Constructors

Link copied to clipboard
constructor(idx: Int? = 0, defaultColor: Int)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
open override val codec: MapCodec<out Tint>

The codec of this tint.

Link copied to clipboard

The default color.

Link copied to clipboard
val idx: Int? = 0

The index of the color in the colors list. Defaults to zero.