setColor abstract method

void setColor(
  1. MapSceneLightsCategory category,
  2. Color color,
  3. MapSceneLightsAttributeSettingCallback? callback
)

Set a new color for the light based on its category.

  • category The category of light for which the color is set.

  • color The Color type includes red, green, blue, and alpha components. The value of these components must be inside the range [0, 1].

  • callback Optional callback that will receive the result of this operation.

Implementation

void setColor(MapSceneLightsCategory category, ui.Color color, MapSceneLightsAttributeSettingCallback? callback);