fog
Is fog enabled?
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Property
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
public static bool fog { get; set; }
Remarks
using UnityEngine;using System.Collections;public class ExampleClass : MonoBehaviour{ void Example() { // Enable fog RenderSettings.fog = true; }}
Additional Resources: RenderSettings.fogMode.