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

Check Box#

Physics / Physics / Check Box Center, HalfExtents, Orientation, Layermask, QueryTriggerInteraction

Description#

Compares the Check Box static method of Physics class to another value

Parameters#

Name Description
Center
Half Extents
Orientation
Layermask
Query Trigger Interaction

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("Check Box")]
    [Category("Physics/Physics/Check Box", "Center, HalfExtents, Orientation, Layermask, QueryTriggerInteraction")]
    [Description("Compares the Check Box static method of Physics class to another value")]
    
    [Image(typeof(IconPhysics), ColorTheme.Type.Lime)]
    
    [Parameter("Center")]
    [Parameter("Half Extents")]
    [Parameter("Orientation")]
    [Parameter("Layermask")]
    [Parameter("Query Trigger Interaction")]
    
    [Serializable]
    public class GenConditionBool_Physics_CheckCheckBox_5_Vector3Center_Vector3HalfExtents_QuaternionOrientation_IntLayermask_QueryTriggerInteractionQueryTriggerInteraction : Condition
    {
        [SerializeField] private GetVector3 m_Center = new GetVector3();
        
        [SerializeField] private GetVector3 m_HalfExtents = new GetVector3();
        
        [SerializeField] private GetQuaternion m_Orientation = new GetQuaternion();
        
        [SerializeField] private GetInteger m_Layermask = new GetInteger();
        
        [SerializeField] private QueryTriggerInteraction m_QueryTriggerInteraction = default;
        
        protected override string GetTitle(GameObject source)
        {
            string className = TextUtils.ThemeAsKeyword("Physics");
            string method = TextUtils.ThemeAsKeyword("Check Box");
            return $"{className} {method} ({this.m_Center}, {this.m_HalfExtents}, {this.m_Orientation}, {this.m_Layermask}, {this.m_QueryTriggerInteraction})";
        }
        
        protected override bool Run(Args args)
        {
            bool value = Physics.CheckBox(
                (Vector3) this.m_Center.Get(args),
                (Vector3) this.m_HalfExtents.Get(args),
                (Quaternion) this.m_Orientation.Get(args),
                (int) this.m_Layermask.Get(args),
                this.m_QueryTriggerInteraction
            );
            
            return value;
        }
    }
}

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