Layer 3D Attributes And Methods - Adobe AFTER EFFECTS 7.0 Manual

Table of Contents

Advertisement

Return type: Property [2 or 3].
position
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.
Return type: Property [2 or 3].
scale
Returns the scale value of the layer, expressed as a percentage.
Return type: Property.
rotation
Returns the rotation value of the layer in degrees. For a 3D layer, it returns the z rotation value in degrees.
Return type: Property [1].
opacity
Returns the opacity value for the layer, expressed as a percentage.
Return type: Property [2].
audioLevels
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.
Return type: Property.
timeRemap
Returns the value of the Time Remap property, in seconds, if Time Remap is enabled.
Return type: Marker Number.
marker.key(index)
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
,
, and
ke y
ne arest Ke y
numKe ys
Return type: Marker Number.
marker.key(name)
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,
not a Number. Example:
m1 = marker.ke y("St ar t").t ime; m2 = marker.ke y("End").time; line ar(time, m1, m2, 0, 100);
Return type: Marker Number.
marker.nearestKey
Returns the value for the marker that is nearest to the current time.
Return type: Number.
marker.numKeys
Returns the total number of layer-time markers.
Return type: String.
name
Returns the name of the layer.

Layer 3D attributes and methods

Return type: Property [3].
orientation
Returns the 3D orientation value, in degrees, for a 3D layer.
Return type: Property [1].
rotationX
.
marker.ke y("ch1")
ADOBE AFTER EFFECTS 7.0
. The value for a marker key is a String,
580
User Guide

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents