mergAVVideoCompositionAddLayerInstruction |
Type | command |
Dictionary | LCS |
Library | LiveCode Script |
Syntax | mergAVVideoCompositionAddLayerInstruction <pVideoCompositionPointer>, <pCompositionPointer>, <pCompositionTrackID>, [<pTransform>], [<pTransformTransition>], [<pOpacity>], [<pOpacityTransition>]
|
Associations | mergav |
Summary | Add a layer instruction to the last instruction added to the video
composition
|
Introduced | 8.0 |
OS | ios, mac |
Platforms | desktop, mobile |
Parameters | Name | Type | Description |
---|
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.
|
Tags | externals |