Scripting API

RenderSettings

class in UnityEngine · UnityEngine.CoreModule

23 of 24 of Unity's membersUnity's documentation
In Tassix

The active scene's ambient light, reflections and fog. Each scene has its own (from its file, or Unity's defaults for a new scene); making another scene active switches to its settings. The skybox ambient mode lights from a stand-in for Unity's default sky, scaled by ambientIntensity.

Properties 23

static Color ambientEquatorColor { get; set; }
static Color ambientGroundColor { get; set; }
static float ambientIntensity { get; set; }
static Color ambientLight { get; set; }

The flat ambient color: the same value as ambientSkyColor.

static AmbientMode ambientMode { get; set; }
static Color ambientSkyColor { get; set; }
static Texture? customReflectionTexture { get; set; }
static DefaultReflectionMode defaultReflectionMode { get; set; }
static int defaultReflectionResolution { get; set; }
static float flareFadeSpeed { get; set; }
static float flareStrength { get; set; }
static bool fog { get; set; }
static Color fogColor { get; set; }
static float fogDensity { get; set; }
static float fogEndDistance { get; set; }
static FogMode fogMode { get; set; }
static float fogStartDistance { get; set; }
static float haloStrength { get; set; }
static int reflectionBounces { get; set; }
static float reflectionIntensity { get; set; }
static Material? skybox { get; set; }

What cameras clearing to the skybox draw behind everything: Skybox/Procedural, Skybox/Panoramic (latitude-longitude) or Skybox/6 Sided. In the skybox ambient mode it lights the scene too.

static Color subtractiveShadowColor { get; set; }
static Light? sun { get; set; }

The scene's sun; without one, the brightest directional light (as in Unity).

Not in Tassix yet 1

ambientProbe

Checked against Unity

Conformance scenarios that exercise it, recorded in Unity and compared event by event.