Scene Camera Utility¶
Frame Selected Objects¶
- This is just an existing operator in Blender.
bpy.ops.view3d.camera_to_view_selected()
This button is just here for convenience.
This button will try to fit selected object to fit into your camera frame.
Scene Camera to View¶
- This is just a existing operator in Blender.
bpy.ops.view3d.camera_to_view()
This button is just here for convenience.
This button will move the current scene camera to your current view.