Omni Light Component

The OmniLightComponent is used to add an omnidirectional light as a child to an entity.

Description

The OmniLightComponent is used to add an omnidirectional light as a child to an entity.

Usage

  1. Attach the component to a game entity.
  2. Adjust the properties to customize the appearance and behavior of the omnidirectional light.

Dependencies

Has no dependencies.

Properties

range

  • Type: FLOATING
  • Description: Represents the range of the omnidirectional light. Adjusting this property changes how far the light reaches.

attenuation

  • Type: FLOATING
  • Description: Represents the attenuation of the omnidirectional light. Higher values result in faster light falloff.

specular

  • Type: FLOATING
  • Description: Represents the specular intensity of the omnidirectional light. Adjust this property to control the shininess of the lit surfaces.

color

  • Type: COLOR
  • Description: Represents the color of the omnidirectional light. Define the desired color using the RGBA format.

energy

  • Type: FLOATING
  • Description: Represents the energy of the omnidirectional light. This property controls the overall brightness of the light.