><

Camera attributes and methods



Camera objects have all of the same attributes and methods as Layer objects, except for source, effect, mask, width, height, anchor_point, scale, opacity, audio_levels, time_remap, and all of the material properties. In addition, Cameras have the following:

Property [3] point_of_interest Returns the camera's Point of Interest values in world space.

Property zoom Returns the camera's Zoom values in pixels.

Property depth_of_field Returns a 1 if the camera's Depth of Field property is on, or returns a 0 if it is off.

Property focus_distance Returns the camera's Focus Distance values in pixels.

Property aperture Returns the camera's Aperture value in pixels.

Property blur_level Returns the camera's Blur Level value as a percentage.

Boolean active Returns a true value if the camera's video switch ()is on, the current time is between the camera's In and Out points, and it is the first such camera listed in the Timeline window. Returns a false value if the above conditions are not met.


Creating Expressions > After Effects expression language guide > Camera attributes and methods