Version: 2023.1
언어: 한국어
public static float fogDensity ;

설명

The density of the exponential fog.

Fog density is used by Exponential and ExponentialSquared modes.

using UnityEngine;
using System.Collections;

public class ExampleClass : MonoBehaviour { void Example() { // Set the fog color to be blue RenderSettings.fogDensity = 0.1f;

// And enable fog RenderSettings.fog = true; } }