To the top
Space Transforms" have been arranged into a "Layer" submenu.
source
Return type: Comp or Footage.
Returns the source Comp or source Footage object for the layer. Default time is adjusted to the time in the source. Example:
source.layer(1).position
sourceTime(t = time)
Return type: Number.
Returns the layer source corresponding to time t. (After Effects CS5.5 and later.)
effect(name)
Return type: Effect.
Argument type: name is a String.
After Effects finds the effect by its name in the Effect Controls panel. The name can be the default name or a user-defined name. If multiple
effects have the same name, the effect closest to the top of the Effect Controls panel is used. Example:
effect("Fast Blur")("Blurriness")
effect(index)
Return type: Effect.
Argument type: index is a Number.
After Effects finds the effect by its index in the Effect Controls panel, starting at 1 and counting from the top.
mask(name)
Return type: Mask.
Argument type: name is a String.
The name can be the default name or a user-defined name. If multiple masks have the same name, the first (topmost) mask is used. Example:
mask("Mask 1")
mask(index)
Return type: Mask.
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 (expression reference)
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 it has one. Example: position[0] + parent.width
hasParent
Return type: Boolean.
Returns true if the layer has a parent or false if it doesn’t.
Use the hasParent attribute to determine if a layer has a parent layer. You can use this attribute even if the layer has no parent layer at present.
For example, the following expression indicates that the layer to which you apply it wiggles based on the position of the parent. If the layer has no
parent, then it wiggles based on its own position. If the layer is given a parent later, then the behavior of the layer changes 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, if a layer is reversed in time, the value of inPoint is greater
than the value of outPoint. Similarly, the value of startTime can be greater than the value 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.
Содержание 12040118 - After Effects Standard
Страница 1: ...ADOBE AFTER EFFECTS Help and tutorials...
Страница 2: ...What s New...
Страница 21: ......
Страница 23: ...Legal Notices Online Privacy Policy...
Страница 27: ...Workspace and workflow...
Страница 29: ...Legal Notices Online Privacy Policy...
Страница 36: ......
Страница 42: ...Importing from Adobe After Effects Legal Notices Online Privacy Policy...
Страница 76: ...Projects and compositions...
Страница 92: ...Importing footage...
Страница 97: ...Legal Notices Online Privacy Policy...
Страница 102: ......
Страница 128: ...Layers and properties...
Страница 140: ......
Страница 171: ...Views and previews...
Страница 185: ...Animation and Keyframes...
Страница 206: ...Legal Notices Online Privacy Policy...
Страница 241: ...Color...
Страница 257: ...Legal Notices Online Privacy Policy...
Страница 258: ...Drawing painting and paths...
Страница 293: ...Text...
Страница 314: ......
Страница 325: ...Transparency and compositing...
Страница 336: ...Legal Notices Online Privacy Policy...
Страница 345: ...Effects and animation presets...
Страница 380: ...Legal Notices Online Privacy Policy...
Страница 496: ...Effect applied with threshold settings of 44 left 70 center and 200 right Legal Notices Online Privacy Policy...
Страница 509: ...Original upper left and with effect applied lower left and right More Help topics Legal Notices Online Privacy Policy...
Страница 513: ...Legal Notices Online Privacy Policy...
Страница 514: ...Markers...
Страница 518: ......
Страница 524: ...Memory storage performance...
Страница 544: ...Expressions and automation...
Страница 560: ...Legal Notices Online Privacy Policy...
Страница 582: ...Rendering and Exporting...
Страница 601: ...Legal Notices Online Privacy Policy...
Страница 603: ......