fogColor
The color of the fog.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
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; }}