Class Camera

The Camera Data object

This object gives access to Camera-specific data in Blender.

Warning:
Most member variables assume values in some [Min, Max] interval.
When trying to set them, the given parameter will be clamped to lie
in that range: if val < Min, then val = Min, if val > Max,
then val = Max.

setMode(mode1=None,
mode2=None)

Set this Camera's mode flags. Mode strings given are turned 'on'.
(deprecated) See the mode attribute. Those not provided are turned 'off', so
cam.setMode() -- without arguments -- turns off all mode flags for Camera
cam.