• Enable, or disable, an effect of a layer.

    Parameters

    • instanceContainer: RuntimeInstanceContainer

      the container owning the layer

    • layer: string

      The name of the layer

    • effect: string

      The name of the effect

    • enabled: boolean

      true to enable, false to disable.

    Returns void