기술 자료

Unity Engine

Unity Engine

fog

Is fog enabled?
읽는 시간 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.