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

Tilemap Renderer Chunk Culling Bounds#

Tilemap / Tilemap Renderer / Tilemap Renderer Chunk Culling Bounds

Description#

Compares the Chunk Culling Bounds property of Tilemap Renderer component to another value

Parameters#

Name Description
Tilemap Renderer
Value

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.Tilemaps;

namespace VisualScript.Runtime
{
    [Title("Tilemap Renderer Chunk Culling Bounds")]
    [Category("Tilemap/Tilemap Renderer/Chunk Culling Bounds")]
    [Description("Compares the Chunk Culling Bounds property of Tilemap Renderer component to another value")]
    
    [Image(typeof(IconTilemap), ColorTheme.Type.Purple, typeof(BadgeEye))]
    [Keywords("Tile, Map")]
    
    [Parameter("Tilemap Renderer")]
    [Parameter("Value")]
    
    [Serializable]
    public class GenConditionVector3_TilemapRenderer_CheckChunkCullingBounds : Condition
    {
        [SerializeField] private GetGameObject m_TilemapRenderer = new GetGameObject(
            new GenTypeGameObject_TilemapRenderer()
        );
        
        [SerializeField] private GetVector3 m_Value = new GetVector3();
        
        protected override string GetTitle(GameObject source)
        {
            string member = TextUtils.ThemeAsKeyword("Chunk Culling Bounds");
            return $"{this.m_TilemapRenderer} {member} = {this.m_Value}";
        }
        
        protected override bool Run(Args args)
        {
            TilemapRenderer component = this.m_TilemapRenderer.Get<TilemapRenderer>(args);
            if (component == null) return false;
            
            return component.chunkCullingBounds == (Vector3) this.m_Value.Get(args);
        }
    }
}

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