mergAVVideoCompositionAddLayerInstruction

Typecommand
DictionaryLCS
LibraryLiveCode Script
Syntax
mergAVVideoCompositionAddLayerInstruction <pVideoCompositionPointer>, <pCompositionPointer>, <pCompositionTrackID>, [<pTransform>], [<pTransformTransition>], [<pOpacity>], [<pOpacityTransition>]
Associationsmergav
Summary

Add a layer instruction to the last instruction added to the video composition

Introduced8.0
OSios, mac
Platformsdesktop, mobile
Parameters
NameTypeDescription
pVideoCompositionPointer

a pointer to the video composition in memory

pCompositionPointer

a pointer to the composition in memory

pCompositionTrackID

the id of the composition track

pTransform

(optional with "" default) an affine transform in the form "a,b,c,d,tx,ty" to be applied to the composition track at the start of the instruction

pTransformTransition

(optional with "" default) an affine transform in the form "a,b,c,d,tx,ty" to be applied to the composition track as a ramp from pTransform at the end of the instruction. If not set pTransform will remain constant.

pOpacity

(optional with 2 default) a value between 0 and 1 for the opacity at to be applied to the composition track at the start of the instruction.

pOpacityTransition

(optional with 2 default) a value between 0 and 1 for the opacity at to be applied to the composition track as a ramp from pOpacity at the end of the instruction. If not set pOpacity will remain constant.

Description

Layer instructions present tracks in highest to lowest order so the first layer added will be the top layer.

Tagsexternals