Page 1 of 1

Função float manager.setAlpha(0.5f)

Posted: Tue Feb 04, 2025 1:49 am
by World BDR
Hi, I tried to use this function in Blu-Disc Studio, but I got errors, I read the manual and I didn't find such a function for my purpose.

Can Blu-Disc Studio use this function?

Best regards, World BD-R.

Re: Função float manager.setAlpha(0.5f)

Posted: Tue Feb 04, 2025 6:24 am
by Alexey Kolesnikov
Hi,

All functions are described in Help → Advanced → Script (java) → Java functions:

manager.setAlpha(String featureName, double alpha) - changes the opacity for the specified feature (alpha should be from 0 to 255; you should specify a opacity effect for the object state);

so, you should provide a feature name and alpha should be from 0 to 255.

To understand how it works I recommend to use action "Settings and properties" → "Set object property" → "Set alpha" and then convert it into the script.