Camera(ID)

base classes — bpy_struct, ID

class bpy.types.Camera(ID)

Camera datablock for storing camera settings

angle

Perspective Camera lens field of view in degrees

Type :float in [0.00640536, 3.01675], default 0.0
animation_data

Animation data for this datablock

Type :AnimData, (readonly)
clip_end

Camera far clipping distance

Type :float in [1, inf], default 0.0
clip_start

Camera near clipping distance

Type :float in [0.001, inf], default 0.0
dof_distance

Distance to the focus point for depth of field

Type :float in [0, 5000], default 0.0
dof_object

Use this object to define the depth of field focal point

Type :Object
draw_size

Apparent size of the Camera object in the 3D View

Type :float in [0.01, 1000], default 0.0
lens

Perspective Camera lens value in millimeters

Type :float in [1, 5000], default 0.0
lens_unit

Unit to edit lens in for the user interface

Type :enum in [‘MILLIMETERS’, ‘DEGREES’], default ‘MILLIMETERS’
ortho_scale

Orthographic Camera scale (similar to zoom)

Type :float in [0.01, 4000], default 0.0
passepartout_alpha

Opacity (alpha) of the darkened overlay in Camera view

Type :float in [0, 1], default 0.0
shift_x

Perspective Camera horizontal shift

Type :float in [-10, 10], default 0.0
shift_y

Perspective Camera vertical shift

Type :float in [-10, 10], default 0.0
show_guide

Draw overlay

Type :enum set in {‘CENTER’, ‘CENTER_DIAGONAL’, ‘THIRDS’, ‘GOLDEN’, ‘GOLDEN_TRIANGLE_A’, ‘GOLDEN_TRIANGLE_B’, ‘HARMONY_TRIANGLE_A’, ‘HARMONY_TRIANGLE_B’}, default {‘CENTER’}
show_limits

Draw the clipping range and focus point on the camera

Type :boolean, default False
show_mist

Draw a line from the Camera to indicate the mist area

Type :boolean, default False
show_name

Show the active Camera’s name in Camera view

Type :boolean, default False
show_passepartout

Show a darkened overlay outside the image area in Camera view

Type :boolean, default False
show_title_safe

Show indicators for the title safe zone in Camera view

Type :boolean, default False
type

Camera types

Type :enum in [‘PERSP’, ‘ORTHO’], default ‘PERSP’
use_panorama

Render the scene with a cylindrical camera for pseudo-fisheye lens effects

Type :boolean, default False

Inherited Properties

Inherited Functions

References

Previous topic

BuildModifier(Modifier)

Next topic

CameraActuator(Actuator)