Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


StartRecordingAsync(string, OnStartedRecordingVideoCallback)

Asynchronously records a video from the web camera to the file system.
Read time 1 minuteLast updated 7 days ago

Definition

public void StartRecordingAsync(string filename, VideoCapture.OnStartedRecordingVideoCallback onStartedRecordingVideoCallback)

Parameters

filename

The name of the video to be recorded to.

onStartedRecordingVideoCallback

Invoked as soon as the video recording begins.