RenderSettings
The Render Settings contain values for a range of visual elements in your Scene, like fog and ambient light.
Read time 4 minutesLast updated 3 days ago
Definition
- Type: Class
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
- Inherits from: Object
public sealed class RenderSettings : Object
Remarks
Note that render settings are per-scene.
Static Properties
Property | Description |
|---|---|
| ambientEquatorColor | Ambient lighting coming from the sides. |
| ambientGroundColor | Ambient lighting coming from below. |
| ambientIntensity | Multiplier for the ambient light that Unity generates from the skybox. |
| ambientLight | Flat ambient lighting color. |
| ambientMode | Ambient lighting mode. |
| ambientProbe | An ambient probe that captures environment lighting. |
| ambientSkyColor | Ambient lighting coming from above. |
| defaultReflectionMode | Default reflection mode. |
| defaultReflectionResolution | Cubemap resolution for default reflection. |
| flareFadeSpeed | The fade speed of all flares in the Scene. |
| flareStrength | The intensity of all flares in the Scene. |
| fog | Is fog enabled? |
| fogColor | The color of the fog. |
| fogDensity | The density of the exponential fog. |
| fogEndDistance | The ending distance of linear fog. |
| fogMode | Fog mode to use. |
| fogStartDistance | The starting distance of linear fog. |
| haloStrength | Size of the Light halos. |
| reflectionBounces | The number of times a reflection includes other reflections. |
| reflectionIntensity | How much the skybox / custom cubemap reflection affects the Scene. |
| skybox | The global skybox to use. |
| subtractiveShadowColor | The color used for the sun shadows in the Subtractive lightmode. |
| sun | The light used by the procedural skybox. |
Inheritance
Operators
Operator | Description |
|---|---|
| operator == | Compares two object references to see if they refer to the same object. |
| bool | Determines whether the object exists. |
| operator != | Compares if two objects refer to a different object. |