Manual     Reference     Scripting  
  
Scripting > Runtime Classes > RenderSettings Switch to Component   
  • Menu
  • Overview
  • Runtime Classes
  • Attributes
  • Enumerations
  • Editor Classes
  • Enumerations
  • History
  • Index
  • RenderSettings
  • All Members
  • Class Variables
  • ambientLight
  • flareStrength
  • fog
  • fogColor
  • fogDensity
  • fogEndDistance
  • fogMode
  • fogStartDistance
  • haloStrength
  • skybox

RenderSettings.ambientLight  

static var ambientLight : Color

Description

Color of the scene's ambient light.

// Make the ambient lighting red
RenderSettings.ambientLight = Color.red;

See Also: Render Settings manager