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

Line Renderer Apply Active Color Space#

Effects / Line Renderer / Line Renderer Apply Active Color Space

Description#

Compares the Apply Active Color Space property of Line Renderer component to another value

Parameters#

Name Description
Line Renderer

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;

namespace VisualScript.Runtime
{
    [Title("Line Renderer Apply Active Color Space")]
    [Category("Effects/Line Renderer/Apply Active Color Space")]
    [Description("Compares the Apply Active Color Space property of Line Renderer component to another value")]
    
    [Image(typeof(IconLineRenderer), ColorTheme.Type.Blue, typeof(BadgeEye))]
    [Keywords("Effect")]
    
    [Parameter("Line Renderer")]
    
    [Serializable]
    public class GenConditionBool_LineRenderer_CheckApplyActiveColorSpace : Condition
    {
        [SerializeField] private GetGameObject m_LineRenderer = new GetGameObject(
            new GenTypeGameObject_LineRenderer()
        );
        
        protected override string GetTitle(GameObject source)
        {
            string member = TextUtils.ThemeAsKeyword("Apply Active Color Space");
            return $"{this.m_LineRenderer} {member}";
        }
        
        protected override bool Run(Args args)
        {
            LineRenderer component = this.m_LineRenderer.Get<LineRenderer>(args);
            if (component == null) return false;
            
            return component.applyActiveColorSpace;
        }
    }
}

Visual Script logoVisual Script © Catsoft Works 2026. All rights reserved.