Adobe 65008009 - After Effects CS4 Using Manual page 674

User guide
Hide thumbs Also See for 65008009 - After Effects CS4:
Table of Contents

Advertisement

Last updated 12/21/2009
thisComp.marker.nearestKey(time).time
Return type: Number.
marker.numKeys
Returns the total number of composition markers in the composition.
Return type: Number.
numLayers
Returns the number of layers in the composition.
Return type: Camera.
activeCamera
Returns the Camera object for the camera through which the composition is rendered at the current frame. This
camera is not necessarily the camera through which you are looking in the Composition panel.
Return type: Number.
width
Returns the composition width, in pixels.
Apply the following expression to the Position property of a layer to center the layer in the composition frame:
[thisComp.width/2, thisComp.height/2]
Return type: Number.
height
Returns the composition height, in pixels.
Return type: Number.
duration
Returns the composition duration, in seconds.
Return type: Number.
displayStartTime
Returns the composition start time, in seconds.
Return type: Number.
frameDuration
Returns the duration of a frame, in seconds.
Return type: Number.
shutterAngle
Returns the shutter-angle value of the composition, in degrees.
Return type: Number.
shutterPhase
Returns the shutter phase of the composition, in degrees.
Return type: Array [4].
bgColor
Returns the background color of the composition.
Return type: Number.
pixelAspect
Returns the pixel aspect ratio of the composition.
Return type: String.
name
Returns the name of the composition.
Footage attributes and methods (expression reference)
To use a footage item from the Project panel as an object in an expression, use the global
. You can also access a footage object using the
footage("file_name")
footage item.
Return type: Number.
width
USING AFTER EFFECTS CS4
footage
attribute on a layer whose source is a
source
668
Expressions
method, as in

Advertisement

Table of Contents
loading

This manual is also suitable for:

After effects cs4

Table of Contents