Table of Contents

Class FrameRecorder

Ruang Nama
easyar
Rakitan
EasyAR.Sense.dll

easyar.InputFrameRecorder dan easyar.VideoInputFrameRecorder dikontrol dalam adegan oleh MonoBehaviour, menyediakan ekstensi fungsionalitas di lingkungan Unity.

Ini akan secara otomatis dirakit ke dalam Assembly.

enabled dapat mengontrol kapan perekaman dimulai dan diakhiri.

[DisallowMultipleComponent]
public class FrameRecorder : MonoBehaviour
Pewarisan
FrameRecorder

Bidang

AutoStart

Mulai merekam secara otomatis setelah Sesi dimulai.

public bool AutoStart

Configuration

Konfigurasi rekaman. Dapat diatur sebelum merekam (sebelum OnEnable atau StartSession()).

public FrameRecorder.RecordingConfiguration Configuration

OnFinish

Peristiwa saat perekaman berakhir.

public FrameRecorder.RecordFinishEvent OnFinish

OnReady

Peristiwa yang dapat memulai perekaman.

public UnityEvent OnReady

OnRecording

Peristiwa saat perekaman dimulai.

public FrameRecorder.RecordStartEvent OnRecording

Properti

AvailableFormats

Semua format yang tersedia, bervariasi berdasarkan platform.

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

RecordingFile

Path absolut file yang sedang direkam.

public string RecordingFile { get; }

RecordingFormat

Format file yang sedang direkam.

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

Status

Status perekaman.

public FrameRecorder.RecorderStatus Status { get; }