• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
1

Any way to enable alpha channel in COLOR parameter?

Explorer ,
Aug 25, 2023 Aug 25, 2023

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

TOPICS
SDK

Views

190

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Aug 26, 2023 Aug 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.

Votes

Translate

Translate
Community Expert ,
Aug 25, 2023 Aug 25, 2023

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?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Aug 25, 2023 Aug 25, 2023

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Aug 25, 2023 Aug 25, 2023

Copy link to clipboard

Copied

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 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 26, 2023 Aug 26, 2023

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Aug 26, 2023 Aug 26, 2023

Copy link to clipboard

Copied

LATEST

Well seems it's the only solution. Thanks!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines