Using Help | Contents | Index Back - Adobe AFTER EFFECTS 5.5 Help Manual

Table of Contents

Advertisement

Adobe After Effects Help
Using Help
|
Contents
Number pixel_aspect Returns the pixel aspect ratio of the footage, expressed as width/
height.
Layer attributes and methods
Number width Returns the width of the layer in pixels. It is the same as "source.width" .
Number height Returns the height of the layer in pixels. It is the same as "source.height" .
Number start_time Returns the start time of the layer in seconds.
Number in_point Returns the In point of the layer in seconds.
Number out_point Returns the Out point of the layer in seconds.
Boolean has_video Returns a true value if the layer has video, or a false if it doesn't.
Boolean has_audio Returns a true value if the layer has audio, or a false if it doesn't.
Boolean active Returns a true value (1) if the layer's video switch ( )is on, or a false (0) if it
isn't.
Boolean audio_active Returns a true value (1) if the layer's audio switch ( ) is on, or a false
(0) if it isn't.
Number index Returns the Number of the layer in the composition.
Layer, Light, or Camera parent Returns the parent Layer object of the layer, if there is one.
For example, "position[0] + parent.width" .
Property [2 or 3] anchor_point Returns the Anchor Point value of the layer in the layer's
space.
Property [2 or 3] scale Returns the Scale value of the layer, expressed as a percentage.
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.
Property rotation Returns the Rotation value of the layer in degrees. For a 3D layer, it
returns the Z rotation value in degrees.
Property [1] rotationX Returns the X Rotation value in degrees for a 3D layer.
Property [1] rotationY Returns the Y Rotation value in degrees for a 3D layer.
Property [1] rotationZ Returns the Z Rotation value in degrees for a 3D layer.
Property [3] orientation Returns the 3D Orientation value in degrees for a 3D layer.
Property [1] opacity Returns the Opacity value for the layer, expressed as a percentage.
Property [2] audio_levels Returns the Audio Level 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.
Property time_remap Returns the value of the Time Remap property in seconds, if Time
Remap is enabled.
Comp or Footage source Returns the source Comp or source Footage object for the layer.
Default time is adjusted to the time in the source. For example, "source.layer(1).position" .
Mask mask(index) {index is a number} Returns a layer Mask object. After Effects finds the
mask by its index in the Timeline window, starting at 1 and counting down from the top.
Using Help
|
Contents
|
Index
|
Index
Creating Expressions
Back
259
Back
259

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents