updateColor

fun updateColor(@ColorInt color: Int, colorMixIntensity: Double = 1.0)

Update color of the ModelMaterialPart.

Note: color-mix-intensity will be set to 1.0 automatically when the chosen color is set, you can overwrite it by specifying colorMixIntensity or call colorMixIntensity afterwards.

Parameters

color

the color to be set to the ModelMaterialPart.