RenderSettings
.fogColor
Manual
Reference
Scripting
Scripting
>
Runtime Classes
>
RenderSettings
RenderSettings
.fogColor
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
static
var
fogColor :
Color
Description
The color of the fog.
// Set the fog color to be blue
RenderSettings.fogColor
=
Color.blue
;
// And enable fog
RenderSettings.fog
= true;
See Also:
Render Settings manager