Reflection Probe Blend Cubemap#
Rendering / Reflection Probe / Reflection Probe Blend Cubemap
Can Read
Cannot Write
Description#
Returns the execution of Blend Cubemap static method on 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
{
[Get]
[Title("Reflection Probe Blend Cubemap")]
[Category("Rendering/Reflection Probe/Blend Cubemap")]
[Description("Returns the execution of Blend Cubemap static method on the Reflection Probe class")]
[Image(typeof(IconReflectionProbe), ColorTheme.Type.Blue)]
[Serializable]
public class GenTypeBool_ReflectionProbe_BlendCubemap_4 : TypeBool
{
[SerializeField] private GetTexture m_Src = new GetTexture();
[SerializeField] private GetTexture m_Dst = new GetTexture();
[SerializeField] private GetNumber m_Blend = new GetNumber();
[SerializeField] private GetTexture m_Target = new GetTexture();
public override bool Get(Args args)
{
bool value = (bool) ReflectionProbe.BlendCubemap(
(Texture) this.m_Src.Get(args),
(Texture) this.m_Dst.Get(args),
(float) this.m_Blend.Get(args),
(RenderTexture) this.m_Target.Get(args)
);
return value;
}
public override string ToString()
{
return $"Reflection Probe Blend Cubemap ({this.m_Src}, {this.m_Dst}, {this.m_Blend}, {this.m_Target})";
}
protected override SubscriptionMode Subscription => SubscriptionMode.OnChange;
}
}