Copy link to clipboard
Copied
Hi guys,
I wanna enable the alpha channel within a color parameter, but could'nt find any flag about this. So is there any way to enable it or it's just a pie in the sky, just like color control in expression?
Thanks
well, using PF_AppColorPickerDialog you might get the system dialog instead of AE's, which in turn, might have an alpha component. (but i don't think it does)
you can, however, implement your own color picking dialog and have it lauched via param supervision or a custom UI.
Copy link to clipboard
Copied
Expressions use a four-number array for color. The values are [red, green, blue, alpha]. You must always enter all values in an expression or use the color space conversions to generate the values.
Some color parameters can use the alpha channel to create colors with opacity built in, but most do not. What property are you specifically trying to manipulate? How do you want to add an alpha channel value?
Copy link to clipboard
Copied
Thanks a lot for your anwser, however COLOR PARAMETER is a c++ thing in After Effects plugin development. I know that the color is a 4-channel type, but I don't know how to enable the alpha channel so that users can edit alpha in the color picker or something.
Now I found that most plugins has no alpha channel in color picker, maybe I should consider adding an opacity parameter indivisually.
Copy link to clipboard
Copied
I don't know how to enable the alpha channel so that users can edit alpha in the color picker or something.
You can't nor does it exactly make sense.
Mylenium
Copy link to clipboard
Copied
well, using PF_AppColorPickerDialog you might get the system dialog instead of AE's, which in turn, might have an alpha component. (but i don't think it does)
you can, however, implement your own color picking dialog and have it lauched via param supervision or a custom UI.
Copy link to clipboard
Copied
Well seems it's the only solution. Thanks!
Find more inspiration, events, and resources on the new Adobe Community
Explore Now