Reflection Probe Update Cached State#
Rendering / Reflection Probe / Reflection Probe Update Cached State
Description#
Executes the Update Cached State static method of the Reflection Probe 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
{
[Title("Reflection Probe Update Cached State")]
[Category("Rendering/Reflection Probe/Update Cached State")]
[Description("Executes the Update Cached State static method of the Reflection Probe class")]
[Image(typeof(IconReflectionProbe), ColorTheme.Type.Blue)]
[Serializable]
public class GenInstructionReflectionProbe_UpdateCachedState_0 : Instruction
{
protected override string GetTitle(GameObject source)
{
string className = TextUtils.ThemeAsKeyword("Reflection Probe");
string method = TextUtils.ThemeAsKeyword("Update Cached State");
return $"{className} {method}";
}
protected override Awaitable Run(Args args)
{
ReflectionProbe.UpdateCachedState();
return Done;
}
}
}