Adobe 12040118 - After Effects Standard Using Manual page 111

Using help
Hide thumbs Also See for 12040118 - After Effects Standard:
Table of Contents

Advertisement

Help
Using Help
Description
The LayerCollection add() method creates a new AVLayer containing the given AVItem, and adds the new
AVLayer to the containing CompItem.
This method generates an exception if the item cannot be added as a layer to this CompItem.
The duration parameter, if provided, will affect the method only if the given AVItem contains a piece of still
footage; it has no effect on movies, sequences or audio. If duration is provided, then the duration of the newly
created layer will be the passed value. If duration is not provided, then the duration will be determined by the
user preferences.
Note that by default, user preferences proscribe that the duration be set equal to that of the CompItem into
which the layer is being added. The preference can be changed to a specific duration. Choose Edit > Prefer-
ences > Import (Windows) or After Effects > Preferences > Import, and specify options under Still Footage.
Parameters
item
dur at ion
Returns
AVLayer.
LayerCollection addCamera() method
app.project.ite m(index).lcoll .addCamer a ( n a m e , c e n t e r Po i n t )
Description
This method creates a new camera layer within the LayerCollection.
Parameters
name
centerPoint
Returns
Camera layer.
LayerCollection addLight() method
app.project.ite m(index).lcoll . a d d L i g h t ( n a m e , c e n t e r Po i n t )
Description
This method creates a new light layer within the LayerCollection.
Using Help
AVItem to be added
optional floating-point value specifying the length of a still layer
string; name of the new layer
floating-point array; center of the new camera
Reference
Back
111
Back
111

Advertisement

Table of Contents
loading

This manual is also suitable for:

After effects

Table of Contents