Skip to main content
Known Participant
August 10, 2021
Question

Disable the target on a PF_ADD_POINT UI parameter

  • August 10, 2021
  • 1 reply
  • 1423 views

Hi, is it possible to have a 2D [X,Y] UI input without the target?

I'm making a plugin that needs a 2 dimensional input, but the target slides around when the user adjusts the values, which is very distracting.  I grouping 2 inputs inside a topic, or using a 3D point works but both are undesirable.  Is there simply a flag that can be set to disable the target?  Sorry if this is such a silly question, I have looked but can't find anything obvious.  Thanks in advance 🙂

This topic has been closed for replies.

1 reply

James Whiffin
Brainiac
August 11, 2021

To my knowledge it's not possible. The really roundabout way would be to implement your own arb param that has the same behaviour but doesn't draw the composition target. I settled for having an X and Y slider :"(

Known Participant
August 11, 2021

Thanks James, hope you're well mate.  I'll look into that but might settle for X and Y sliders, or use a 3D Point and ignore the Z.  Takes me a while to get back into the SDK zone after months of animation projects.  Must remember to annotate my code more!  All the best, and thanks again 🙂

James Whiffin
Brainiac
August 12, 2021

No problem James 😄 Just curious, won't the 3D point param have the same issue as the 2D point param? Anyway, keen to see the result when you finish the plugin if it's going to get a public release.