OmniLight

Inherits: Light < VisualInstance < Spatial < Node < Object

Category: Core

Brief Description

OmniDirectional Light, such as a light bulb or a candle.

Member Variables

  • float omni_attenuation
  • float omni_range
  • int omni_shadow_detail
  • int omni_shadow_mode

Numeric Constants

  • SHADOW_DUAL_PARABOLOID = 0
  • SHADOW_CUBE = 1
  • SHADOW_DETAIL_VERTICAL = 0
  • SHADOW_DETAIL_HORIZONTAL = 1

Description

An OmniDirectional light is a type of Light node that emits lights in all directions. The light is attenuated through the distance and this attenuation can be configured by changing the energy, radius and attenuation parameters of Light.