OmniLight

Inherits: Light < VisualInstance < Spatial < Node < Object

Category: Core

Brief Description

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

Member Functions

int get_shadow_detail ( ) const
int get_shadow_mode ( ) const
void set_shadow_detail ( int detail )
void set_shadow_mode ( int mode )

Member Variables

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

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.

Member Function Description

  • int get_shadow_detail ( ) const
  • int get_shadow_mode ( ) const
  • void set_shadow_detail ( int detail )
  • void set_shadow_mode ( int mode )