CameraLayer object

The CameraLayer object represents a camera layer within a composition. Create it using the LayerCollection objectメs addCamera method; see LayerCollection a

AVLayer object

The AVLayer object provides an interface to those layers that contain AVItem objects composition layers, footage layers, solid layers, text layers, and sou

sourceRectAtTime()

Retrieves the rectangle bounds of the layer at the specified time index, corrected for text or shape layer content.Use, for example, to write text that is p

replaceSource()

Replaces the source for this layer.newSource The new source AVItem object.fixExpressions True to adjust expressions for the new source, false otherwise. Not

openInViewer()

Opens the layer in a Layer panel, and moves the Layer panel to front and gives it focus.None.Viewer object for the Layer panel, or null if the layer could n

calculateTransformFromPoints()

Calculates a transformation from a set of points in this layer.pointTopLeft The top left point coordinates in the form of an array, [x, y, z].pointTopRight

audioActiveAtTime()

Returns true if this layer’s audio will be active at the specified time.For this method to return true, audioEnabled must be true, no other layer with audio

width

The width of the layer in pixels.Floating-point; read-only.

trackMatteType

If this layer has a track matte, specifies the way the track matte is applied.A TrackMatteType enumerated value; read/write. One of:TrackMatteType.ALPHATrac

timeRemapEnabled

True if time remapping is enabled for this layer.Boolean; read/write.