Rotating a Vector Shape to use as a knob



  • I created this vector shape. How can I use it as a knob (with rotation) to control a Simple Gain amount?

    HiseSnippet 4071.3ocsZ01iabaDVxwJnVItnAn+.D7GJt.nFrj6xcW1zhlF+RgaqcNzKMn.AAFJR57Ij6jNnSWRLBxW5u39OncdlYH4r1mScLPcfiWsCIWx4km4YlcOd+tkqu5pc6GM9Ne9Ktb8nwu+jSdw1Cmc+yVrY6nG+fQi+kSdxhqNrd+L4Ve5KtbwUWsd0nwiem+Ltw36b6Q7e92+wOcw4K1tbc4ViF8E61rb8eayEaNTt6wexecy4m+nEqV+4atvL5lO4wK2s896Ne20z94clTM5xEK+lEOe8SWfgcqIiF+tOb0lC61exgEGVeEMlOc2pWbxY69tsx3+hMWs4qOeM9gazIzBI2dz8Oay4qNNcVuZznw293xI+cjS9udxS1rZS99EMvuhELqLCqNX7sFtkt8fsj60skdztyWgE30r8Fa1d2V1devjSVteykGJRvd68l73sjw4zEjZ2tsjwN5Vu+uYx82QiX6gO5hEey5Gsm9QdFGUWUMeVSU0G9w2cJ9OR8e0gYe6h8y9hGd+mc4hCmM6OLKM+k6WSGwioadDF+vwd0297msZwgEz3+RmqZtqJNuh9OuuYdaGeYuCWE6oKaal65bCEPyw2y+k+AFRS2MHfVSZWSW5p5+Ik4q7ycg1jTOcKWzS+aSZDQZ7M4A35vp0RCHlFfySKQCtsbq5l4gl4dWdEbzwIR6zZ9oRWM0SC065yCnW+2Z9PFn0qldD957.vSkz.tZurIlS6Fuur.zhhCQM+LoKBjXcrPriNBARbfW9J9F0cYwzg0WWSxkaQm3H83ab4ADpoCLeHgNhNGtPfWRc.gHsjzkM7iz2PqUOFPrnlo0jjGlOEaPbjomYnb.gFC+qXMq6XCSEORUbOlutfdVm5dCES5SdKIZG9vPir2H10gY6RhwZ4shcAqXm2Yj6DuqFw+A5E5uzDxhIsUKePmxRhtxi1H7UkEgVjrkss7ClbWB3vkkWwma3Zv6Ku7y7oNFYqjqSN0jqk22ZOWvH.Wq9rRiD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x86d1RI5.exn+B9NzdZK+0xdmIOA+dlaDiAPyaR0GUM5hMq17rkKgp32R68adN92h4T+VLml2h4DdKlS6awb5dKlS+O4bvGQ7e55C6tPBSnab7CYzpwie31EjWF6QN5+xm0C4G
    


  • Sorry I'm not right now at my computer, but everything you need about vector knob should be in Hise documentation/script panel



  • @ustk Yeah I know this documentation but the info that I need (rotating a path and using it as a knob) is not there. Can you give an example from my snippet?




Log in to reply
 

12
Online

552
Users

2.1k
Topics

16.4k
Posts