Show axis colors on vector inputs
Hello! I've made a concept for a feature that I think could be nice when dealing with input vectors. If you have a lot of vectors it can often be difficult / annoying to view since it's just a bunch of blue on your screen. I think having something like this, but making it toggleable could be very nice! You can view a before & after of my mockup below.
in my opinion, my mockup makes it much nicer to view, and having this as an option instead of being required could be really beneficial.
just a mockup, but if I spend time looking at the source-code I may be able to open a PR for this myself!
You are very welcome to add that feature. Although, it might be nice to put it behind a config option, rather than as an argument. Something like:
Iris.PushConfig({ ColourisedInputs = true ))
Iris.InputVector3(...)
Iris.PopConfig()
or similar.
Would be a nice quality of life feature. Possibly at increasing accessability, maybe?
I guess the only issue with this currently is that it hard-codes the colour values, unless there's a nice way of dealing with them. For example, it could try and take the existing frame colour and then hue shift it to produce the others. That might work? This would work if the user changes to a lighter theme.
I guess the only issue with this currently is that it hard-codes the colour values, unless there's a nice way of dealing with them. For example, it could try and take the existing frame colour and then hue shift it to produce the others. That might work? This would work if the user changes to a lighter theme.
What I was going to do is use a function that can darken / lighten a color instead of needing like 2 colors per XYZ in the styling, I can just have one for each and increase / decrease the brightness! saturation could work as well