Camera objects have the same attributes and methods as Layer objects, except for source, effect, mask, width, height, anchorPoint, scale, opacity, audioLevels, timeRemap, and all of the material properties.
Returns the camera’s point of interest values in world space.
Returns the camera’s zoom values in pixels.
Here's an expression for the Scale property of a layer that maintains the relative size of the layer in frame while changing the layer's z position (depth) or the camera's Zoom value:
cam = thisComp.activeCamera; distance = length(sub(position, cam.position)); scale * distance / cam.zoom;
Returns 1 if the camera’s Depth Of Field property is on, or returns 0 if it is off.
Returns the camera’s focus distance value, in pixels.
Returns the camera’s aperture value, in pixels.
Returns the camera’s blur level value as a percentage.
Returns true if the camera is the active camera
for the composition at the current time: the camera’s Video switch
is
on, the current time is between the camera’s In and Out points,
and it is the first (topmost) such camera listed in the Timeline
panel. Returns false otherwise.
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/en_US/AfterEffects/8.0/WS3878526689cb91655866c1103906c6dea-79fc.html
Comments
Comments are no longer accepted for After Effects CS3. After Effects CS4 is the current version. To discuss After Effects CS3, please use the Adobe forum.