Documentation index for AI agents (llms.txt) A Markdown version of every page is available: request the page's source under /docs/, follow the "alternate" link in this page's head, or start from /llms.txt.
Visual Script logo Manual

Reflection Probe Render Probe#

Rendering / Reflection Probe / Reflection Probe Render Probe TargetTexture

  • Can Read

  • Cannot Write

Description#

Returns the execution of Render Probe 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 Render Probe")]
    [Category("Rendering/Reflection Probe/Render Probe", "TargetTexture")]
    [Description("Returns the execution of Render Probe method on the Reflection Probe component")]

    [Image(typeof(IconReflectionProbe), ColorTheme.Type.Blue)]

    [Serializable]
    public class GenTypeInteger_ReflectionProbe_RenderProbe_1_RenderTextureTargetTexture : TypeNumber
    {
        [SerializeField] private GetGameObject m_ReflectionProbe = new GetGameObject(
            new GenTypeGameObject_ReflectionProbe()
        );

        [SerializeField] private GetTexture m_TargetTexture = new GetTexture();

        public override double Get(Args args)
        {
            ReflectionProbe component = this.m_ReflectionProbe.Get<ReflectionProbe>(args);
            if (component == null) return default;

            double value = (double) component.RenderProbe(
                (RenderTexture) this.m_TargetTexture.Get(args)
            );

            return value;
        }

        public override string ToString()
        {
            return $"{this.m_ReflectionProbe} Render Probe ({this.m_TargetTexture})";
        }

        protected override SubscriptionMode Subscription => SubscriptionMode.OnChange;
    }
}
Visual Script logoVisual Script © Catsoft Works 2026. All rights reserved.