CameraParameters
When calling PhotoCapture.StartPhotoModeAsync, you must pass in a CameraParameters object that contains the various settings that the web camera will use.
Read time 1 minuteLast updated 11 days ago
Definition
- Type: Struct
- Namespace: UnityEngine.Windows.WebCam
- Assembly: UnityEngine.CoreModule
public struct CameraParameters
Properties
Property | Description |
|---|---|
| cameraResolutionHeight | A valid height resolution for use with the web camera. |
| cameraResolutionWidth | A valid width resolution for use with the web camera. |
| frameRate | The framerate at which to capture video. This is only for use with VideoCapture. |
| hologramOpacity | The opacity of captured holograms. |
| pixelFormat | The pixel format used to capture and record your image data. |