Skip to main content
朵格Dolag
Inspiring
August 25, 2023
Answered

Any way to enable alpha channel in COLOR parameter?

  • August 25, 2023
  • 2 replies
  • 551 views

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

This topic has been closed for replies.
Correct answer shachar carmi

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.

2 replies

shachar carmiCommunity ExpertCorrect answer
Community Expert
August 26, 2023

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.

朵格Dolag
Inspiring
August 26, 2023

Well seems it's the only solution. Thanks!

Community Expert
August 25, 2023

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?

朵格Dolag
Inspiring
August 25, 2023

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.

Mylenium
Legend
August 26, 2023
quote

 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