HISE Logo Forum
    • Categories
    • Register
    • Login

    Is it possible to add parameters to a Control Callback?

    Scheduled Pinned Locked Moved Scripting
    4 Posts 2 Posters 94 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • VirtualVirginV
      VirtualVirgin
      last edited by VirtualVirgin

      So a control callback normally has (component, value) for input parameters.
      Can I add parameters to pass more into the control callback? e.g.:

      inline function onMatrixLabelControl(component, value, labelPanelArray, panelArray, clickPanelArray)
      

      I'm trying to pass some arrays to the control callback without having to use const variables in the main script.

      d.healeyD 1 Reply Last reply Reply Quote 0
      • d.healeyD
        d.healey @VirtualVirgin
        last edited by

        @VirtualVirgin no, it only takes the two

        Libre Wave - Freedom respecting instruments and effects
        My Patreon - HISE tutorials
        YouTube Channel - Public HISE tutorials

        VirtualVirginV 1 Reply Last reply Reply Quote 1
        • VirtualVirginV
          VirtualVirgin @d.healey
          last edited by

          @d-healey Thanks! I'll stop messing with it then. I wasn't getting any results from trying it out.

          d.healeyD 1 Reply Last reply Reply Quote 0
          • d.healeyD
            d.healey @VirtualVirgin
            last edited by

            @VirtualVirgin a broadcaster might be more suitable, check out the latest video on Patreon if you haven't already

            Libre Wave - Freedom respecting instruments and effects
            My Patreon - HISE tutorials
            YouTube Channel - Public HISE tutorials

            1 Reply Last reply Reply Quote 0
            • First post
              Last post

            49

            Online

            1.7k

            Users

            11.7k

            Topics

            101.8k

            Posts