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

Blu-ray and UHD Authoring
Post Reply
World BDR
Posts: 1
Joined: Tue Feb 04, 2025 1:42 am

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

Post 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.

Alexey Kolesnikov
Posts: 492
Joined: Fri Mar 01, 2013 1:03 pm
Contact:

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

Post 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.
Best regards,
Alexey Kolesnikov

Post Reply