# VideoCapture.OnVideoCaptureResourceCreatedCallback

> Called when a VideoCapture resource has been created.

## Definition

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

```csharp
public delegate void VideoCapture.OnVideoCaptureResourceCreatedCallback(VideoCapture captureObject)
```

## Remarks

If the instance failed to be created, the instance returned will be null.
