Adobe 12040118 - After Effects Standard Tutorial page 573

Help and tutorials
Hide thumbs Also See for 12040118 - After Effects Standard:
Table of Contents

Advertisement

param(name) Return type: Property.
Argument type: name is a String.
Returns a property within an effect. Effect control points are always in layer space. Example:
effect("Bulge").param("Bulge Height")
param(index) Return type: Property.
Argument type: index is a Number.
Returns a property within an effect. Effect control points are always in layer space. For example, effect("Bulge").param(4) returns the Bulge Height
property.
Mask attributes and methods (expression reference)
Note: You can link Mask Path properties to other path properties (paths in a shape layer and brush strokes), but the properties are not accessible
for direct numerical manipulation through expressions.
maskOpacity Return type: Property.
Returns the opacity value of a mask as a percentage.
maskFeather Return type: Property.
Returns the feather value of a mask, in pixels.
maskExpansion Return type: Property.
Returns the expansion value of a mask, in pixels.
invert Return type: Boolean.
Returns true if the mask is inverted or false if it is not.
Property attributes and methods (expression reference)
value Return type: Number, Array, or String.
Returns the value of a property at the current time.
valueAtTime(t) Return type: Number or Array.
Argument type: t is a Number.
Returns the value of a property at the specified time, in seconds.
For example, to have a property value for each frame chosen randomly from a set of four values, set your four values as keyframes at 0, 1, 2, and
3 seconds, and then apply the following expression to the property:
valueAtTime(random(4))
Note: Dan Ebberts provides more examples and techniques for using the valueAtTime and velocityAtTime methods on his
velocity Return type: Number or Array.
Returns the temporal velocity value at the current time. For spatial properties, such as Position, it returns the tangent vector value. The result is
the same dimension as the property.
velocityAtTime(t) Return type: Number or Array.
Argument type: t is a Number.
Returns the temporal velocity value at the specified time.
speed Return type: Number.
Returns a 1D, positive speed value equal to the speed at which the property is changing at the default time. This element can be used only for
spatial properties.
speedAtTime(t) Return type: Number.
Argument type: t is a Number.
Returns the spatial speed value at the specified time.
wiggle(freq, amp, octaves=1, amp_mult=.5, t=time) Return type: Number or Array.
Argument type: freq, amp, octaves, amp_mult, and t are Numbers.
Randomly shakes (wiggles) the value of the property.
freq value is the frequency in wiggles per second.
amp value is the amplitude in units of the property to which it is applied.
octaves is the number of octaves of noise to add together. This value controls how much detail is in the wiggle. Make this value higher than the
default of 1 to include higher frequencies or lower to include amplitude harmonics in the wiggle.
To the top
To the top
MotionScript
website.

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

After effects

Table of Contents