Edit command

addLayerClip

Places a layer: an effect over a span of the timeline that treats everything beneath it. The chain starts as the one package at its defaults; the clip's opacity is how hard it is applied.

Fields

  • effectIdstringrequired

    The package the layer applies, e.g. "concat.warm", or an audio one, e.g. "concat.telephone", with sound.

  • namestringrequired

    What the lane calls it.

  • startnumberrequired

    Timeline position in seconds, floored at 0.

  • durationnumberoptional

    Seconds on the timeline; the editorial default when absent.

  • soundbooloptional · default false

    True lays a sound layer (ClipKind): the package goes on the clip's filters, and the layer treats the soundtrack rather than the picture. Absent is a picture layer.

  • trackIdstringoptional

    The lane to place it on. None picks the first free lane above the highest one occupied over its span, minting one at the top when every lane above is taken: a layer treats what is beneath it, so one under the picture would treat nothing.