100%, the layer continues to scale from 100% to the Out point,
instead of looping directly back to the Out point. This type does
not accept a keyframes or duration argument.
Todd Kopriva provides an example project on
his blog
that demonstrates the use of the loopIn and loopOut methods, and all of the loop types.
Paul Tuersley provides a script on the
AE Enhancers forum
that automatically adds wiggle, smooth, and loop expressions to selected properties.
loopOut(type="cycle", numKeyframes=0)
Return type: Number or Array.
Loops a segment of time that is measured from the last keyframe on the layer back toward the In point of the layer. The loop plays until the Out
point of the layer. The segment to loop is determined by the specified number of keyframes. The numKeyframes value sets the number of
keyframe segments to loop; the specified range is measured backward from the last keyframe. For example, loopOut("cycle", 1) loops the segment
bounded by the last keyframe and second-to-last keyframe. The default value of 0 means that all keyframes will loop. See the entry for loopIn for
more information.
David Van Brink provides an instructional article and sample project on his
omino pixel blog
that show how to use the Echo effect, the Particle
Playground effect, and the loopOut method to animate a swarm of stylized swimming bacteria.
loopInDuration(type="cycle", duration=0)
Return type: Number or Array.
Loops a segment of time that is measured from the first keyframe on the layer forward toward the Out point of the layer. The loop plays from the In
point of the layer. The segment to loop is determined by the specified duration. The duration value sets the number of composition seconds in a
segment to loop; the specified range is measured from the first keyframe. For example, loopInDuration("cycle",1) loops the first second of the
entire animation. The default of 0 means that the segment to loop begins at the layer Out point. See the entry for loopIn for more information.
loopOutDuration(type="cycle", duration=0)
Return type: Number or Array.
Loops a segment of time that is measured from the last keyframe on the layer back toward the In point of the layer. The loop plays until the Out
point of the layer. The segment to loop is determined by the specified duration. The duration value sets the number of composition seconds in a
segment to loop; the specified range is measured backward from the last keyframe. For example, loopOutDuration("cycle", 1) loops the last second
of the entire animation. The default of 0 means that the segment to loop begins at the layer In point. See the entry for loopIn for more information.
key(index)
Return type: Key or MarkerKey.
Argument type: index is a Number.
Returns the Key or MarkerKey object by number. For example, key(1) returns the first keyframe.
key(markerName)
Return type: MarkerKey.
Argument type: markerName is a String.
Returns the MarkerKey object with this name. Use only on marker properties.
nearestKey(t)
Return type: Key or MarkerKey.
Returns the Key or MarkerKey object nearest to a designated time.
numKeys
Return type: Number.
Returns the number of keyframes on a property. Returns the number of markers on a marker property.
Note: If you use the Separate Dimensions command to separate the dimensions of the Position property into individual components, the number
of keyframes changes, so the value returned by this method changes.
propertyGroup(countUp = 1)
Return type: Group.
Returns a group of properties relative to the property on which the expression is written. For example, if you add the propertyGroup(1) expression
to the Rotation property of a brush stroke, the expression targets the Transform property group, which contains the Rotation property. If you add
propertyGroup(2) instead, the expression targets the Brush property group. This method lets you establish name-independent relationships in the
property hierarchy. This method is especially useful when duplicating properties that contain expressions.
The numProperties method for propertyGroup returns the number of properties in the property group.
This example returns the number of properties in the group that contains the property on which the expression is written:
thisProperty.propertyGroup(1).numProperties
propertyIndex
Return type: Number.
Returns the index of a property relative to other properties in its property group, including property groups within masks, effects, text animators,
selectors, shapes, trackers, and track points.
name
Return type: String.
Returns the name of the property or property group.
Example: Animating with the propertyGroup method and propertyIndex attribute
Содержание 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: ......