setDirection abstract method

void setDirection(
  1. MapSceneLightsCategory category,
  2. MapSceneLightsDirection direction,
  3. MapSceneLightsAttributeSettingCallback? callback
)

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

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

  • direction The Direction contains azimuth and altitude angles in degrees.

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

Implementation

void setDirection(MapSceneLightsCategory category, MapSceneLightsDirection direction, MapSceneLightsAttributeSettingCallback? callback);