Adobe 12040118 Using Help - Page 111
LayerCollection addCamera() method, LayerCollection addLight() method
![]() |
UPC - 718659361808
View all Adobe 12040118 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 111 highlights
Help Using Help Reference Back 111 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 > Preferences > Import (Windows) or After Effects > Preferences > Import, and specify options under Still Footage. Parameters item duration AVItem to be added optional floating-point value specifying the length of a still layer Returns AVLayer. LayerCollection addCamera() method app.project.item(index).lcoll.addCamera(name, centerPoint) Description This method creates a new camera layer within the LayerCollection. Parameters name centerPoint string; name of the new layer floating-point array; center of the new camera Returns Camera layer. LayerCollection addLight() method app.project.item(index).lcoll.addLight(name, centerPoint) Description This method creates a new light layer within the LayerCollection. Using Help Back 111
![](/manual_guide/products/adobe-12040118-using-help-afc463d/111.png)