Adobe After Effects CS3 Uživatelský manuál Strana 575

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 677
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 574
AFTER EFFECTS CS3
User Guide
570
Argument type: index is a Number.
After Effects finds the mask by its index in the Timeline panel, starting at 1 and counting from the top.
Layer General attributes and methods
width Return type: Number.
Returns the width of the layer, in pixels. It is the same as
source.width.
height Return type: Number.
Returns the height of the layer, in pixels. It is the same as
source.height.
index Return type: Number.
Returns the index number of the layer in the composition.
parent Return type: Layer, Light, or Camera.
Returns the parent Layer object of the layer, if there is one. Example:
position[0] + parent.width
hasParent Return type: Boolean.
Returns true if the layer has a parent or false if it doesnt.
Use the
hasParent attributetodetermineifalayerhasaparent.Youcanusethisattributeevenifthereisntaparent
layeratpresent.Forexample,thefollowingexpressionindicatesthatthelayertowhichyouapplyitwillwigglebased
on the position of the layer’s parent. If the layer has no parent, then it will wiggle based on its own position. If the
layer is given a parent later, then the layer’s behavior will change accordingly:
idx = index;
if (hasParent) {
idx = parent.index;
}
thisComp.layer(idx).position.wiggle(5,20)
inPoint Return type: Number.
Returns the In point of the layer, in seconds.
Note: In general, the value of
outPoint is greater than the value of inPoint.However,ifalayerisreversedintime,the
value of
inPointis greater than the value of outPoint.Similarly,thevalueofstartTimecanbegreaterthanthevalue
of
inPoint.
outPoint Return type: Number.
Returns the Out point of the layer, in seconds.
startTime Return type: Number.
Returns the start time of the layer, in seconds.
hasVideo Return type: Boolean.
Returns true if the layer has video, or false if it doesn’t.
hasAudio Return type: Boolean.
Returns true if the layer has audio or false if it doesnt.
active Return type: Boolean.
Zobrazit stránku 574
1 2 ... 570 571 572 573 574 575 576 577 578 579 580 ... 676 677

Komentáře k této Příručce

Avenue 17 24 Apr 2024 | 16:19:09

What talented message