getColor abstract method

Color? getColor(
  1. MapSceneLightsCategory category
)

Retrieves the current color of the light based on its category.

  • category The category of light from which the color is retrieved.

Returns ui.Color?. The current color of the light, or null if the light is missing from the loaded scene or MapScene is not intitialized.

Implementation

ui.Color? getColor(MapSceneLightsCategory category);