PointLight

PointLight

  • color : bevy_color::color::Color
  • intensity : f32
  • range : f32
  • radius : f32
  • shadows_enabled : bool
  • shadow_depth_bias : f32
  • shadow_normal_bias : f32
  • shadow_map_near_z : f32

Description

A light that emits light in all directions from a central point.

Real-world values for intensity (luminous power in lumens) based on the electrical power consumption of the type of real-world light are:

Luminous Power (lumen) (i.e. the intensity member)Incandescent non-halogen (Watts)Incandescent halogen (Watts)Compact fluorescent (Watts)LED (Watts)
200253-53
45040299-115-8
8006013-158-12
1100755318-2010-16
16001007224-2814-17
240015030-5224-30
310020049-7532
400030075-10040.5

Source: Wikipedia

Functions