Copy link to clipboard
Copied
how to do solid layer transparent programmatically in after effect sdk in c++ ?
Copy link to clipboard
Copied
after obtaining the AEGP_LayerH of the trager layer, either:
1. use AEGP_SetLayerFlag with AEGP_LayerFlag_VIDEO_ACTIVE.
2. use AEGP_GetNewLayerStream with AEGP_LayerStream_OPACITY, and then use AEGP_SetStreamValue.
Copy link to clipboard
Copied
sorry i ask worng question because i need how to do solid layer background transparent programmatically in after effect sdk in c++
Copy link to clipboard
Copied
Please reply this questions how to do solid layer background transparent programmatically in after effect sdk in c++
Copy link to clipboard
Copied
sorry, i do not understand the question. could you phrase it differently?
Copy link to clipboard
Copied
In After Effects i have taken a solid layer and on it I have added an Avatar as shown in the attached screenshot.I want to background of the solid layer to be transparent. It means there should be no color and no other thing in the background, only my avatar should be visible. How can i do this with programtically in after effect sdk in c++. please tell me?
Copy link to clipboard
Copied
are you the creator of the Avatar plug-in? if so, rendering on a transparent background should be trivial.
if you're just using the plug-in, then neither the C SDK or the javascript API are the answer. this would be a question to direct to the plug-in's vendor.
Copy link to clipboard
Copied
Not used this before, but a few weeks ago, I stumbled across this guide:
On page 163, it suggests: var myProperty = myLayer.opacity;
Copy link to clipboard
Copied
that's the javascript API, not the C SDK.
if using a script is good enough for your needs, then it's a much easier route to create and maintain than c++ plugins.