Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


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

ambientEquatorColorAmbient lighting coming from the sides.
ambientGroundColorAmbient lighting coming from below.
ambientIntensityMultiplier for the ambient light that Unity generates from the skybox.
ambientLightFlat ambient lighting color.
ambientModeAmbient lighting mode.
ambientProbeAn ambient probe that captures environment lighting.
ambientSkyColorAmbient lighting coming from above.
defaultReflectionModeDefault reflection mode.
defaultReflectionResolutionCubemap resolution for default reflection.
flareFadeSpeedThe fade speed of all flares in the Scene.
flareStrengthThe intensity of all flares in the Scene.
fogIs fog enabled?
fogColorThe color of the fog.
fogDensityThe density of the exponential fog.
fogEndDistanceThe ending distance of linear fog.
fogModeFog mode to use.
fogStartDistanceThe starting distance of linear fog.
haloStrengthSize of the Light halos.
reflectionBouncesThe number of times a reflection includes other reflections.
reflectionIntensityHow much the skybox / custom cubemap reflection affects the Scene.
skyboxThe global skybox to use.
subtractiveShadowColorThe color used for the sun shadows in the Subtractive lightmode.
sunThe light used by the procedural skybox.

Inheritance

Inherited Members

Operators

Operator

Description

operator ==Compares two object references to see if they refer to the same object.
boolDetermines whether the object exists.
operator !=Compares if two objects refer to a different object.