AmbientLight

Extends: Light

Light that reaches every surface equally, whichever way it faces - use it to keep the unlit sides of objects from going too dark, or to tint a whole scene.


Constructor

new AmbientLight( color?: integer, intensity?: float, ): AmbientLight

Parameters

  • color (integer, optional, default: "BGE.ColorsRGB.White") — RGB color
  • intensity (float, optional, default: 0.25)