Quality Settings Maximum LOD Level#
Settings / Quality Settings / Quality Settings Maximum LOD Level
Can Read
Can Write
Description#
The Maximum LOD Level static property of the Quality 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("Quality Settings Maximum LOD Level")]
[Category("Settings/Quality Settings/Maximum LOD Level")]
[Description("The Maximum LOD Level static property of the Quality Settings class")]
[Image(typeof(IconCog), ColorTheme.Type.TextLight, typeof(BadgeSettings))]
[Keywords("Graphics, Quality, Options, Performance")]
[Serializable]
public class GenTypeInteger_QualitySettings_MaximumLODLevel : TypeNumber
{
public override double GetPreview(GameObject source)
{
return QualitySettings.maximumLODLevel;
}
public override double Get(Args args)
{
return QualitySettings.maximumLODLevel;
}
public override void Set(double value, Args args)
{
QualitySettings.maximumLODLevel = (int) value;
}
public override string ToString()
{
return $"Quality Settings Maximum LOD Level";
}
protected override SubscriptionMode Subscription => SubscriptionMode.OnChange;
}
}