base classes — bpy_struct, ID
Camera datablock for storing camera settings
Camera lens field of view
| Type: | float in [0.00640536, 3.01675], default 0.0 |
|---|
Camera lens horizontal field of view
| Type: | float in [0.00640536, 3.01675], default 0.0 |
|---|
Camera lens vertical field of view
| Type: | float in [0.00640536, 3.01675], default 0.0 |
|---|
Camera far clipping distance
| Type: | float in [1, inf], default 0.0 |
|---|
Camera near clipping distance
| Type: | float in [0.001, inf], default 0.0 |
|---|
Cycles camera settings
| Type: | CyclesCameraSettings, (readonly) |
|---|
Distance to the focus point for depth of field
| Type: | float in [0, inf], default 0.0 |
|---|
Apparent size of the Camera object in the 3D View
| Type: | float in [0.01, 1000], default 0.0 |
|---|
Perspective Camera lens value in millimeters
| Type: | float in [1, inf], default 0.0 |
|---|
Unit to edit lens in for the user interface
| Type: | enum in [‘MILLIMETERS’, ‘FOV’], default ‘MILLIMETERS’ |
|---|
Orthographic Camera scale (similar to zoom)
| Type: | float in [0, inf], default 0.0 |
|---|
Opacity (alpha) of the darkened overlay in Camera view
| Type: | float in [0, 1], default 0.0 |
|---|
Method to fit image and field of view angle inside the sensor
| Type: | enum in [‘AUTO’, ‘HORIZONTAL’, ‘VERTICAL’], default ‘AUTO’ |
|---|
Vertical size of the image sensor area in millimeters
| Type: | float in [1, inf], default 0.0 |
|---|
Horizontal size of the image sensor area in millimeters
| Type: | float in [1, inf], default 0.0 |
|---|
Perspective Camera horizontal shift
| Type: | float in [-10, 10], default 0.0 |
|---|
Perspective Camera vertical shift
| Type: | float in [-10, 10], default 0.0 |
|---|
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’} |
|---|
Draw the clipping range and focus point on the camera
| Type: | boolean, default False |
|---|
Draw a line from the Camera to indicate the mist area
| Type: | boolean, default False |
|---|
Show the active Camera’s name in Camera view
| Type: | boolean, default False |
|---|
Show a darkened overlay outside the image area in Camera view
| Type: | boolean, default False |
|---|
Show sensor size (film gate) in Camera view
| Type: | boolean, default False |
|---|
Show TV title safe and action safe zones in Camera view
| Type: | boolean, default False |
|---|
Camera types
| Type: | enum in [‘PERSP’, ‘ORTHO’, ‘PANO’], default ‘PERSP’ |
|---|
Return 4 points for the cameras frame (before object transformation)
| Parameters: | scene (Scene, (optional)) – Scene to use for aspect calculation, when omitted 1:1 aspect is used |
|---|---|
| Return (result_1, result_2, result_3, result_4): | |
result_1, Result, float array of 3 items in [-inf, inf] result_2, Result, float array of 3 items in [-inf, inf] result_3, Result, float array of 3 items in [-inf, inf] result_4, Result, float array of 3 items in [-inf, inf] |
|
Inherited Properties
Inherited Functions
References