Table of Contents

Class FrameRecorder

命名空間
easyar
組件
EasyAR.Sense.dll

在場景中控制easyar.InputFrameRecordereasyar.VideoInputFrameRecorderMonoBehaviour,在Unity環境下提供功能擴展。

它會被自動組裝進Assembly

enabled可以控制錄製開始和結束。

[DisallowMultipleComponent]
public class FrameRecorder : MonoBehaviour
繼承
FrameRecorder

欄位

AutoStart

Session啟動後自動啟動錄製。

public bool AutoStart

Configuration

錄製配置。可以在錄製前設定(OnEnable或StartSession()之前)。

public FrameRecorder.RecordingConfiguration Configuration

OnFinish

錄製結束的事件。

public FrameRecorder.RecordFinishEvent OnFinish

OnReady

可以開始錄製的事件。

public UnityEvent OnReady

OnRecording

錄製啟動的事件。

public FrameRecorder.RecordStartEvent OnRecording

屬性

AvailableFormats

所有可用格式,根據平台有差異。

public List<FrameRecorder.InternalFormat> AvailableFormats { get; }

RecordingFile

當前在錄製的檔案的絕對路徑。

public string RecordingFile { get; }

RecordingFormat

當前在錄製的檔案的格式。

public Optional<FrameRecorder.InternalFormat> RecordingFormat { get; }

Status

錄製狀態。

public FrameRecorder.RecorderStatus Status { get; }