Adobe 12040118 - After Effects Standard Using Manual page 112

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

Advertisement

Help
Using Help
Parameters
name
centerPoint
Returns
Light layer.
LayerCollection addNull() method
app.project.ite m(index).lcoll . a d d Nu l l ( durat ion )
Description
The LayerCollection addNull() method returns a newly created layer in the Comp that owns the LayerCol-
lection. The method has the same effect as choosing Layer > New > Null Object.
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 user preferences.
Note that by default, user preferences specify 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 in the Preferences dialog box.
Choose Edit > Preferences > Import (Windows) or After Effects > Preferences > Import, and specify options
under Still Footage.
Parameters
dur at ion
Returns
AVLayer.
LayerCollection addSolid() method
app.project.ite m(index).lcoll . a d d S o l i d ( c o l o r, n a m e , w i d t h , h e i g h t , p i x e l As p e c t , d u ra t i o n )
Description
The layerCollection addSolid() method creates a new FootageItem whose mainSource is a SolidSource
according to the specified parameters, and adds it to the project. This method also creates a new AVLayer that
has that new FootageItem as its source, and adds that layer to the containing CompItem.
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 durationin the Preferences dialog
box. Choose Edit > Preferences > Import (Windows) or After Effects > Preferences > Import, and specify
options under Still Footage.
Using Help
string; name of the new layer
floating-point array containing 2 values; center of the new light
optional floating-point value specifying the duration of the new layer
Reference
Back
112
Back
112

Advertisement

Table of Contents
loading

This manual is also suitable for:

After effects

Table of Contents