Camera Min Aperture#
Rendering / Camera / Camera Min Aperture
Can Read
Cannot Write
Description#
The Min 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 Min Aperture")]
[Category("Rendering/Camera/Min Aperture")]
[Description("The Min Aperture static field of the Camera class")]
[Image(typeof(IconCamera), ColorTheme.Type.Blue)]
[Serializable]
public class GenTypeNumber_Camera_KMinAperture : TypeNumber
{
public override double GetPreview(GameObject source)
{
return Camera.kMinAperture;
}
public override double Get(Args args)
{
return Camera.kMinAperture;
}
public override string ToString()
{
return $"Camera Min Aperture";
}
protected override SubscriptionMode Subscription => SubscriptionMode.OnChange;
}
}