# Camera Reset Culling Matrix

[Rendering](../index.md) / [Camera](index.md) / **Camera Reset Culling Matrix**

## Description

Executes the Reset Culling Matrix method on the Camera component

## 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("Camera Reset Culling Matrix")]
    [Category("Rendering/Camera/Reset Culling Matrix")]
    [Description("Executes the Reset Culling Matrix method on the Camera component")]
    
    [Image(typeof(IconCamera), ColorTheme.Type.Blue)]
    
    [Serializable]
    public class GenInstructionCamera_ResetCullingMatrix_0 : Instruction
    {
        [SerializeField] private GetGameObject m_Camera = new GetGameObject(
            new GenTypeGameObject_Camera()
        );
        
        protected override string GetTitle(GameObject source)
        {
            string method = TextUtils.ThemeAsKeyword("Reset Culling Matrix");
            return $"{this.m_Camera} {method}";
        }
        
        protected override Awaitable Run(Args args)
        {
            Camera component = this.m_Camera.Get<Camera>(args);
            if (component == null) return Done;
            
            component.ResetCullingMatrix();
            
            return Done;
        }
    }
}


```

