# Reflection Probe Background Color

[Rendering](../index.md) / [Reflection Probe](index.md) / **Reflection Probe Background Color**

## Description

Compares the Background Color property of Reflection Probe component to another value

## 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("Reflection Probe Background Color")]
    [Category("Rendering/Reflection Probe/Background Color")]
    [Description("Compares the Background Color property of Reflection Probe component to another value")]
    
    [Image(typeof(IconReflectionProbe), ColorTheme.Type.Blue)]
    
    [Parameter("Reflection Probe")]
    [Parameter("Value")]
    
    [Serializable]
    public class GenConditionColor_ReflectionProbe_CheckBackgroundColor : Condition
    {
        [SerializeField] private GetGameObject m_ReflectionProbe = new GetGameObject(
            new GenTypeGameObject_ReflectionProbe()
        );
        
        [SerializeField] private GetColor m_Value = new GetColor();
        
        protected override string GetTitle(GameObject source)
        {
            string member = TextUtils.ThemeAsKeyword("Background Color");
            return $"{this.m_ReflectionProbe} {member} = {this.m_Value}";
        }
        
        protected override bool Run(Args args)
        {
            ReflectionProbe component = this.m_ReflectionProbe.Get<ReflectionProbe>(args);
            if (component == null) return false;
            
            return component.backgroundColor == (Color) this.m_Value.Get(args);
        }
    }
}


```

