setColor abstract method
- MapSceneLightsCategory category,
- Color color,
- MapSceneLightsAttributeSettingCallback? callback
Set a new color for the light based on its category.
-
categoryThe category of light for which the color is set. -
colorThe Color type includes red, green, blue, and alpha components. The value of these components must be inside the range [0, 1]. -
callbackOptional callback that will receive the result of this operation.
Implementation
void setColor(MapSceneLightsCategory category, ui.Color color, MapSceneLightsAttributeSettingCallback? callback);