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