modelColor

open override fun modelColor(modelColor: String): ModelLayer

The tint color of the model layer. model-color-mix-intensity (defaults to 0) defines tint(mix) intensity - this means that, this color is not used unless model-color-mix-intensity gets value greater than 0. Default value: "#ffffff".

Use static method ModelLayer.defaultModelColor to set the default property.

Parameters

modelColor

value of modelColor


open override fun modelColor(modelColor: Expression): ModelLayer

The tint color of the model layer. model-color-mix-intensity (defaults to 0) defines tint(mix) intensity - this means that, this color is not used unless model-color-mix-intensity gets value greater than 0. Default value: "#ffffff".

Use static method ModelLayer.defaultModelColorAsExpression to set the default property.

Parameters

modelColor

value of modelColor as Expression


open override fun modelColor(@ColorInt modelColor: Int): ModelLayer

The tint color of the model layer. model-color-mix-intensity (defaults to 0) defines tint(mix) intensity - this means that, this color is not used unless model-color-mix-intensity gets value greater than 0. Default value: "#ffffff".

Use static method ModelLayer.defaultModelColorAsColorInt to set the default property.

Parameters

modelColor

value of modelColor


The tint color of the model layer. model-color-mix-intensity (defaults to 0) defines tint(mix) intensity - this means that, this color is not used unless model-color-mix-intensity gets value greater than 0. Default value: "#ffffff".