Render Settings Fog End Distance#
Rendering / Render Settings / Render Settings Fog End Distance
Can Read
Can Write
Description#
The Fog End Distance static property of the Render Settings class
Code#
// <auto-generated>
// This script was automatically generated using the Visual Script Transpiler.
// Do not modify. Changes to this file will be lost when updating the package.
// </auto-generated>
using System;
using UnityEngine;
using VisualScript.Icons;
namespace VisualScript.Runtime
{
[Get]
[Set]
[Title("Render Settings Fog End Distance")]
[Category("Rendering/Render Settings/Fog End Distance")]
[Description("The Fog End Distance static property of the Render Settings class")]
[Image(typeof(IconPicture), ColorTheme.Type.TextLight, typeof(BadgeSettings))]
[Keywords("Environment, Fog, Ambient, Lighting, Skybox")]
[Serializable]
public class GenTypeNumber_RenderSettings_FogEndDistance : TypeNumber
{
public override double GetPreview(GameObject source)
{
return RenderSettings.fogEndDistance;
}
public override double Get(Args args)
{
return RenderSettings.fogEndDistance;
}
public override void Set(double value, Args args)
{
RenderSettings.fogEndDistance = (float) value;
}
public override string ToString()
{
return $"Render Settings Fog End Distance";
}
protected override SubscriptionMode Subscription => SubscriptionMode.OnChange;
}
}