Class FrameRecorder
- 名前空間
- easyar
- アセンブリ
- EasyAR.Sense.dll
シーン内で easyar.InputFrameRecorder と easyar.VideoInputFrameRecorder を制御する MonoBehaviour で、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; }
enabled
ARSession 実行中に録画を開始/停止します。session 起動後、MonoBehaviour.enabled が true の場合にのみ録画を開始します。MonoBehaviour.enabled のデフォルトは false で、ARSession.Awake で AutoStart に設定されます。
public bool enabled { get; set; }