LightSnapshot

Extends: roAssociativeArray

One light as it reaches a point - see snapshotLightsAt().

Properties

  • type (BGE.LightType)
  • toLight (BGE.Math.Vector) — unit vector toward the light; invalid for an ambient light
  • r (float) — strength per channel at the point, after a point light's falloff
  • g (float)
  • b (float)