Reflection Probe Is Finished Rendering#
Rendering / Reflection Probe / Reflection Probe Is Finished Rendering
Can Read
Cannot Write
Description#
Returns the execution of Is Finished Rendering method on the Reflection Probe component
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("Reflection Probe Is Finished Rendering")]
[Category("Rendering/Reflection Probe/Is Finished Rendering")]
[Description("Returns the execution of Is Finished Rendering method on the Reflection Probe component")]
[Image(typeof(IconReflectionProbe), ColorTheme.Type.Blue)]
[Serializable]
public class GenTypeBool_ReflectionProbe_IsFinishedRendering_1 : TypeBool
{
[SerializeField] private GetGameObject m_ReflectionProbe = new GetGameObject(
new GenTypeGameObject_ReflectionProbe()
);
[SerializeField] private GetInteger m_RenderId = new GetInteger();
public override bool Get(Args args)
{
ReflectionProbe component = this.m_ReflectionProbe.Get<ReflectionProbe>(args);
if (component == null) return default;
bool value = (bool) component.IsFinishedRendering(
(int) this.m_RenderId.Get(args)
);
return value;
}
public override string ToString()
{
return $"{this.m_ReflectionProbe} Is Finished Rendering ({this.m_RenderId})";
}
protected override SubscriptionMode Subscription => SubscriptionMode.OnChange;
}
}