
ADOBE AFTER EFFECTS 7.0
User Guide
580
position
Return type: Property [2 or 3].
Returns the position value of the layer, in world space if the layer has no parent or in the parent’s layer space if there
is a parent.
scale
Return type: Property [2 or 3].
Returns the scale value of the layer, expressed as a percentage.
rotation
Return type: Property.
Returns the rotation value of the layer in degrees. For a 3D layer, it returns the z rotation value in degrees.
opacity
Return type: Property [1].
Returns the opacity value for the layer, expressed as a percentage.
audioLevels
Return type: Property [2].
Returns the value of the Audio Levels property of the layer, in decibels. This is a 2D value; the first value represents
the left audio channel, and the second value represents the right. The value is not the amplitude of the source
material’s audio track; instead, it is the value of the keyframed Audio Levels property.
timeRemap
Return type: Property.
Returns the value of the Time Remap property, in seconds, if Time Remap is enabled.
marker.key(index)
Return type: Marker Number.
Argument type:
index
is a Number.
Returns the value of the Marker Number property for a layer. The only methods and attributes available from marker
are
ke y
,
ne arest Ke y
, and
nu m Ke y s
.
marker.key(name)
Return type: Marker Number.
Argument type:
name
is a String.
Returns the name of the Marker Number property for a layer. The
name
value is the name of the marker, as typed in
the comment field in the marker dialog box, for example,
m ar ke r. ke y ( " ch 1 " )
. The value for a marker key is a String,
not a Number. Example:
m 1 = m ar ke r. ke y ( " St ar t " ) . t i me ; m 2 = m ar ke r. ke y ( " E n d " ) . t i me ; l i n e ar ( t i m e, m 1 , m 2 , 0 , 1 0 0 ) ;
marker.nearestKey
Return type: Marker Number.
Returns the value for the marker that is nearest to the current time.
marker.numKeys
Return type: Number.
Returns the total number of layer-time markers.
name
Return type: String.
Returns the name of the layer.
Layer 3D attributes and methods
orientation
Return type: Property [3].
Returns the 3D orientation value, in degrees, for a 3D layer.
rotationX
Return type: Property [1].
Summary of Contents for AFTER EFFECTS 7.0
Page 1: ...Chapter 1 User Guide...