# Set Reflection Probe Custom Baked Texture

[Rendering](../index.md) / [Reflection Probe](index.md) / **Set Reflection Probe Custom Baked Texture**

## Description

Sets the Custom Baked Texture property of Reflection Probe component

## Parameters

| Name | Description |
| :--- | :---------- |
| Reflection Probe |  |
| Value |  |

## Code

```cs
// <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("Set Reflection Probe Custom Baked Texture")]
    [Category("Rendering/Reflection Probe/Custom Baked Texture")]
    [Description("Sets the Custom Baked Texture property of Reflection Probe component")]
    
    [Image(typeof(IconReflectionProbe), ColorTheme.Type.Blue)]
    
    [Parameter("Reflection Probe")]
    [Parameter("Value")]
    
    [Serializable]
    public class GenInstructionTexture_ReflectionProbe_SetCustomBakedTexture : Instruction
    {
        [SerializeField] private GetGameObject m_ReflectionProbe = new GetGameObject(
            new GenTypeGameObject_ReflectionProbe()
        );
        
        [SerializeField] private GetTexture m_Value = new GetTexture();
        
        protected override string GetTitle(GameObject source)
        {
            string member = TextUtils.ThemeAsKeyword("Custom Baked Texture");
            return $"{this.m_ReflectionProbe} {member} = {this.m_Value}";
        }
        
        protected override Awaitable Run(Args args)
        {
            ReflectionProbe component = this.m_ReflectionProbe.Get<ReflectionProbe>(args);
            if (component == null) return Done;
            
            component.customBakedTexture = this.m_Value.Get(args) as Texture;
            
            return Done;
        }
    }
}


```

