お好みのスクリプト言語を選択すると、サンプルコードがその言語で表示されます。
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
Closeフォグの密度指数
フォグの密度は Exponential と ExponentialSquared で使用され ます。
/// Set for density RenderSettings.fogDensity = 0.1; // And enable fog RenderSettings.fog = true;
See Also: RenderSettings.fogMode, Render Settings manager.