Adobe 65009963 Scripting Manual page 44

After effects cs4
Table of Contents

Advertisement

JavaScript Reference
Returns
An Object with the transformation properties set.
Example
va r new L a y er = comp.layer s. add(ne wFoo ta ge);
ne wLa y er. thr eeD Layer = t rue ;
n e w L a y e r . b le n d in g M o d e = B l e n d i n g M o d e . A L P H A _ A D D ;
va r t rans f orm = new L aye r.calcu late Tra n sf orm F romP oints ( tl, t r, bl) ;
for(va r se l in tra n sfor m) {
n e w L a y e r . tr a n s f o r m [ s e l ] .s e t V al u e ( tr a n s for m [s e l ] ) ;
}
AVLayer canSetCollapseTransformation attribute
a pp .p r o j e c t .i te m (i nd e x) .l a y e r ( inde x) . c a n S e t C ol l a p s e T r a n sf o r m a ti o n
Description
True if it is legal to change the value of the
Type
Boolean; read-only.
AVLayer canSetTimeRemapEnabled attribute
a pp .p r o j e c t .i te m (i nd e x) .l a y e r ( inde x) . c a n S e t T im e R e m a p E n a b l e d
Description
True if it is legal to change the value of the
Type
Boolean; read-only.
AVLayer collapseTransformation attribute
a pp .p r o j e c t .i te m (i nd e x) .l a y e r ( inde x) .c o ll a ps e T r an s f o r m a ti o n
Description
True if collapse transformation is on for this layer.
Type
Boolean; read/write.
AVLayer effectsActive attribute
a pp .p r o j e c t .i te m (i nd e x) .l a y e r ( inde x) . e ff e c t sA c t i v e
Description
True if the layer's effects are active, as indicated by the <f> icon next to it in the user interface.
attribute on this layer.
c o l l a p s e T r a n s f o r m a t io n
attribute on this layer.
time RemapE nabled
AVLayer object
44
44

Advertisement

Table of Contents
loading

This manual is also suitable for:

Creative suite 3 after effects

Table of Contents