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

Camera Max Aperture#

Rendering / Camera / Camera Max Aperture

  • Can Read

  • Cannot Write

Description#

The Max Aperture static field of the Camera 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;
using UnityEngine.Rendering;

namespace VisualScript.Runtime
{
    [Get]
    
    [Title("Camera Max Aperture")]
    [Category("Rendering/Camera/Max Aperture")]
    [Description("The Max Aperture static field of the Camera class")]
    
    [Image(typeof(IconCamera), ColorTheme.Type.Blue)]
    
    [Serializable]
    public class GenTypeNumber_Camera_KMaxAperture : TypeNumber
    {
        
        public override double GetPreview(GameObject source)
        {
            return Camera.kMaxAperture;
        }
        
        public override double Get(Args args)
        {
            return Camera.kMaxAperture;
        }
        
        public override string ToString()
        {
            return $"Camera Max Aperture";
        }
        
        protected override SubscriptionMode Subscription => SubscriptionMode.OnChange;
    }
}

Visual Script logoVisual Script © Catsoft Works 2026. All rights reserved.