# PhotoCapture.OnCaptureResourceCreatedCallback

> Called when a PhotoCapture resource has been created.

## Definition

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

```csharp
public delegate void PhotoCapture.OnCaptureResourceCreatedCallback(PhotoCapture captureObject)
```
