setOpacity
Sets the opacity for all layers if it has changed, and updates visibility. Runs asynchronously to avoid blocking the UI thread. For deferred floors (no native layers), only the opacity/visibility flags are updated.
Parameters
opacity
the new opacity value (0.0f to 1.0f).