文档

Unity Engine

Unity Engine

StartRecordingAsync(string, OnStartedRecordingVideoCallback)

Asynchronously records a video from the web camera to the file system.
阅读时间1 分钟最后更新于 1 个月前

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.