static int Cull(IntPtr L)
    {
        try
        {
            ToLua.CheckArgsCount(L, 3);
            TMPro.TextMeshProUGUI obj  = (TMPro.TextMeshProUGUI)ToLua.CheckObject <TMPro.TextMeshProUGUI>(L, 1);
            UnityEngine.Rect      arg0 = StackTraits <UnityEngine.Rect> .Check(L, 2);

            bool arg1 = LuaDLL.luaL_checkboolean(L, 3);
            obj.Cull(arg0, arg1);
            return(0);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e));
        }
    }