fix: Move minExposure/maxExposure from format into device (#2211)
* fix: Move `minExposure`/`maxExposure` into `device` * Update docs * chore: Remove unneeded dependency * chore: Update code
This commit is contained in:
@@ -80,14 +80,6 @@ export interface CameraDeviceFormat {
|
||||
* Minimum supported ISO value
|
||||
*/
|
||||
minISO: number
|
||||
/**
|
||||
* The minimum Exposure-Bias value this format supports. When setting the `exposure` to this value, the image is almost completely dark (under-exposed).
|
||||
*/
|
||||
minExposure: number
|
||||
/**
|
||||
* The maximum Exposure-Bias value this format supports. When setting the `exposure` to this value, the image is almost completely bright (over-exposed).
|
||||
*/
|
||||
maxExposure: number
|
||||
/**
|
||||
* The video field of view in degrees
|
||||
*/
|
||||
@@ -204,6 +196,14 @@ export interface CameraDevice {
|
||||
* }))
|
||||
*/
|
||||
neutralZoom: number
|
||||
/**
|
||||
* The minimum Exposure-Bias value this format supports. When setting the `exposure` to this value, the image is almost completely dark (under-exposed).
|
||||
*/
|
||||
minExposure: number
|
||||
/**
|
||||
* The maximum Exposure-Bias value this format supports. When setting the `exposure` to this value, the image is almost completely bright (over-exposed).
|
||||
*/
|
||||
maxExposure: number
|
||||
/**
|
||||
* All available formats for this camera device. Use this to find the best format for your use case and set it to the Camera's {@linkcode CameraProps.format | Camera's .format} property.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user