LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

This version of Unity is unsupported.

VideoCapture.StartRecordingAsync

public void StartRecordingAsync(string filename, XR.WSA.WebCam.VideoCapture.OnStartedRecordingVideoCallback onStartedRecordingVideoCallback);

Parameters

filenameThe name of the video to be recorded to.
onStartedRecordingVideoCallbackInvoked as soon as the video recording begins.

Description

Asynchronously records a video from the web camera to the file system.