Table of Contents

Class FrameRecorder

名前空間
easyar
アセンブリ
EasyAR.Sense.dll

シーンで制御するeasyar.InputFrameRecordereasyar.VideoInputFrameRecorderMonoBehaviour、Unity環境で機能拡張を提供する。

それは自動的に組み込まれますAssembly

enabled録画の開始と終了を制御できます。

[DisallowMultipleComponent]
public class FrameRecorder : MonoBehaviour
継承
FrameRecorder

フィールド

AutoStart

セッション起動後、自動的に録画を開始します。

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; }

enabled

ARSession実行時に録画を開始/停止します。セッション起動後、MonoBehaviour.enabledがtrueの時にのみ録画を開始します。MonoBehaviour.enabledはデフォルトでfalseであり、ARSession.AwakeでAutoStartに設定されます。

public bool enabled { get; set; }