Documentation index for AI agents (llms.txt) A Markdown version of every page is available: request the page's source under /docs/, follow the "alternate" link in this page's head, or start from /llms.txt.
Visual Script logo Manual

Shader Global Maximum LOD#

Rendering / Shader / Shader Global Maximum LOD

  • Can Read

  • Can Write

Description#

The Global Maximum LOD static property of the Shader 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("Shader Global Maximum LOD")]
    [Category("Rendering/Shader/Global Maximum LOD")]
    [Description("The Global Maximum LOD static property of the Shader class")]

    [Image(typeof(IconShader), ColorTheme.Type.Yellow)]
    [Keywords("Shader, Global, Material, Keyword")]

    [Serializable]
    public class GenTypeInteger_Shader_GlobalMaximumLOD : TypeNumber
    {

        public override double GetPreview(GameObject source)
        {
            return Shader.globalMaximumLOD;
        }

        public override double Get(Args args)
        {
            return Shader.globalMaximumLOD;
        }

        public override void Set(double value, Args args)
        {
            Shader.globalMaximumLOD = (int) value;
        }

        public override string ToString()
        {
            return $"Shader Global Maximum LOD";
        }

        protected override SubscriptionMode Subscription => SubscriptionMode.OnChange;
    }
}
Visual Script logoVisual Script © Catsoft Works 2026. All rights reserved.