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