# StartPhotoModeAsync(CameraParameters, OnPhotoModeStartedCallback)

> Asynchronously starts photo mode.

## Definition

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

```csharp
public void StartPhotoModeAsync(CameraParameters setupParams, PhotoCapture.OnPhotoModeStartedCallback onPhotoModeStartedCallback)
```

### Parameters

**** (\[CameraParameters]\(/engine/6000.5/script-reference/unityengine/windows/webcam/cameraparameters)): The various settings that should be applied to the web camera.**** (\[OnPhotoModeStartedCallback]\(/engine/6000.5/script-reference/unityengine/windows/webcam/photocapture/onphotomodestartedcallback)): This callback will be invoked once photo mode has been activated.

### Remarks

Activates the web camera with the various settings specified in [CameraParameters](/engine/6000.5/script-reference/unityengine/windows/webcam/cameraparameters.md). Only one PhotoCapture instance can start the photo mode at any given time.  After starting the photo mode, you make take photos via [PhotoCapture.TakePhotoAsync](/engine/6000.5/script-reference/unityengine/windows/webcam/photocapture/takephotoasync.md).  While in photo mode,  more power will be consumed so make sure that you call [PhotoCapture.StopPhotoModeAsync](/engine/6000.5/script-reference/unityengine/windows/webcam/photocapture/stopphotomodeasync.md) when you are done taking photos.
