Adobe 65009963 Scripting Manual page 48

After effects cs4
Table of Contents

Advertisement

JavaScript Reference
AVLayer sourceRectAtTime() method
a pp .p r o j e c t .i te m (i nd e x) .laye r( inde x) . s o u rc e R e ct A t T i m e ( t i m e T , e x t e n t s )
Description
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 properly aligned to the baseline.
Parameters
t im eT
e x t en t s
Returns
A JavaScript object with four attributes,
AVLayer threeDLayer attribute
a pp .p r o j e c t .i te m (i nd e x) .l a y e r ( inde x).t hr eeD Layer
Description
True if this is a 3D layer.
Type
Boolean; read/write.
AVLayer threeDPerChar attribute
a pp .p r o j e c t .i te m (i nd e x) .l a y e r ( inde x).t hr eeD Pe rCha r
Description
True if this layer has the Enable Per-character 3D switch set, allowing its characters to be animated off the
plane of the text layer. Applies only to text layers.
Type
Boolean; read/write.
AVLayer timeRemapEnabled attribute
a pp .p r o j e c t .i te m (i nd e x) .l a y e r ( inde x) . t i m e R e m a p E n a b l e d
Description
True if time remapping is enabled for this layer.
Type
Boolean; read/write.
The time index, in seconds. A floating-point value.
T rue
fa l se
to include the extents,
the layer bounds as necessary.
[ to p, left , w i dt h, heigh t]
otherwise. Extents apply to shape layers, increasing the size of
.
AVLayer object
48
48

Advertisement

Table of Contents
loading

This manual is also suitable for:

Creative suite 3 after effects

Table of Contents