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.
ReturnsthevalueoftheMarkerNumberpropertyforalayer.Theonlymethodsandattributesavailablefrommarker
are
key, nearestKey, and numKeys.
marker.key(name) Return type: Marker Number.
Argument type: name is a String.
ReturnsthenameoftheMarkerNumberpropertyforalayer.Thename valueisthenameofthemarker,astypedin
the comment field in the marker dialog box, for example,
marker.key("ch1"). The value for a marker key is a String,
not a Number. Example:
m1 = marker.key("Start").time; m2 = marker.key("End").time; linear(time, m1, m2, 0, 100);
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].