Environment Component

The EnvironmentComponent is used to configure environmental settings in a 3D scene.

Description

The EnvironmentComponent is used to configure environmental settings in a 3D scene, including a customizable panorama sky.

Usage

  1. Attach the component to a game entity.
  2. Use the provided properties to customize the environmental settings, such as the panorama sky, rotation, and energy.

Dependencies

Requires the use of the Anitya server for downloading panorama images as assets.

Image has to be in png format.

Properties

image

  • Type: ASSET_REF
  • Description: Represents the panorama image asset used as the background sky.

rotation

  • Type: FLOATING
  • Description: Represents the rotation around the y-axis of the panorama sky.

energy

  • Type: FLOATING
  • Description: Represents the energy of the background environment. This property controls the overall brightness of the scene.