User Guide

CHAPTER 10
334
Creating Expressions
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 cameras Point of Interest values in world
space.
Property zoom Returns the cameras Zoom values in pixels.
Property depth_of_field Returns a 1 if the cameras Depth of Field property is on, or
returns a 0 if it is off.
Property focus_distance Returns the cameras Focus Distance values in pixels.
Property aperture Returns the cameras Aperture value in pixels.
Property blur_level Returns the cameras Blur Level value as a percentage.
Boolean active Returns a true value if the cameras video switch ( )is on, the current time
is between the cameras 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.
Light attributes and methods
Light 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, Lights have the following:
Property [3] point_of_interest Returns the light’s Point of Interest values in work space.
Property
intensity Returns the light’s Intensity values as a percentage.
Property [4] color Returns the light’s Color value.
Property cone_angle Returns the light’s Cone Angle value in degrees.
Property cone_feather Returns the light’s Cone Feather value as a percentage.
Property shadow_darkness Returns the light’s Shadow Darkness value as a percentage.
Property shadow_diffusion Returns the light’s Shadow Diffusion value in pixels.
UG.book Page 334 Wednesday, February 21, 2001 12:05 PM