Directional light layer

更新时间:
复制 MD 格式

Configure the color, intensity, and position of the directional light layer.

Chart style

The directional light layer is a 3D Earth component that simulates sunlight on the globe. You can independently adjust its color, intensity, and position. image.png

Style panelimage.png

  • Search Configuration: Click the Style icon image in the upper right corner of the panel to enter the name of the configuration item you wish to locate in the search field. The system supports fuzzy matching. For more information, see Search configuration item.

  • Light Intensity: The brightness of the directional light. Valid values: 0 to 100.

  • Color: The color of the directional light. For more information, see the color picker instructions.

  • Position X, Position Y, Position Z: The coordinates of the directional light in the right-hand coordinate system, along the X, Y, and Z axes.

Data source panel

No data configuration is required for this component.

Advanced panel

No interaction events are available for this component.

Blueprint interaction

  1. To access the Blueprint page, click the image icon in the upper left corner.

  2. In the Layer Node tab, add the component to the main canvas.

  3. Review the blueprint configuration parameters. image

    • Event: None.

    • Action

      Action

      Description

      Toggle Visibility

      Show or hide the component. No parameters are required.

      Show

      Display the component. For reference, see the data example.

      {
        "animationType": "",//Animation type. Optional value: fade. No animation if not filled.
        "animationDuration": 1000,//Animation latency in ms.
        "animationEasing": ""//Animation curve
      }

      Hide

      Hide the component. For reference, see the data example.

      {
        "animationType": "",//Animation type. Optional value: fade. No animation if not filled.
        "animationDuration": 1000,//Animation latency in ms.
        "animationEasing": ""//Animation curve
      }

      Update Component Configuration

      Dynamically update the component style. Click Copy Configuration To Clipboard in the Style panel to obtain the configuration data, and then modify the style field values in the data processing node on the blueprint editor page.