widget only
This property is only available when the
ui module is loaded before capture and Camera is used as a widget. Accessing it in object mode will raise an error.