MainCameras(bpy_struct)

base class — bpy_struct

class bpy.types.MainCameras(bpy_struct)

Collection of cameras

new(name)

Add a new camera to the main database

Parameters:
  • name (string) – New name for the datablock.
Returns:

New camera datablock.

Return type:

Camera

remove(camera)

Remove a camera from the current blendfile.

Parameters:
  • camera (Camera, (never None)) – Camera to remove.

Inherited Properties

Inherited Functions

References

Previous topic

MainBrushes(bpy_struct)

Next topic

MainCurves(bpy_struct)