getDirection abstract method

MapSceneLightsDirection? getDirection(
  1. MapSceneLightsCategory category
)

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

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

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

Implementation

MapSceneLightsDirection? getDirection(MapSceneLightsCategory category);