fogColor
The color of the fog.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Property
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
public static Color fogColor { get; set; }
Examples
using UnityEngine;using System.Collections;public class ExampleClass : MonoBehaviour{ void Example() { // Set the fog color to be blue RenderSettings.fogColor = Color.blue; // And enable fog RenderSettings.fog = true; }}