# cameraResolutionWidth

> A valid width resolution for use with the web camera.

## Definition

* **Type:** Property
* **Namespace:** [UnityEngine.Windows.WebCam](/engine/6000.6/script-reference/unityengine/windows/webcam.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
public int cameraResolutionWidth { get; set; }
```

### Remarks

This value must be set to a valid width resolution supported by the intended capture mode. For example, when using this with PhotoCapture, you will want to query [PhotoCapture.SupportedResolutions](/engine/6000.6/script-reference/unityengine/windows/webcam/photocapture/supportedresolutions.md) for a valid width.
