Universal Layer Manager
    Preparing search index...

    Function calculateComputedOpacity

    • Calculates the computed opacity for a layer by multiplying its own opacity with the parent's computed opacity (if a parent exists).

      Parameters

      • parentRef: ParentLayerActor | null

        The parent layer actor reference, or null if no parent.

      • ownOpacity: number

        The layer's own opacity value (0-1).

      Returns number

      The computed opacity value (0-1).