Class FrameRecorder
- Namespace
- easyar
- Assembly
- EasyAR.Sense.dll
Controls the easyar.InputFrameRecorder and easyar.VideoInputFrameRecorder of MonoBehaviour in the scene, providing functional extensions in the Unity environment.
It is automatically assembled into Assembly.
enabled can control the start and end of recording.
[DisallowMultipleComponent]
public class FrameRecorder : MonoBehaviour
- Inheritance
-
FrameRecorder
Fields
AutoStart
Starts recording automatically after the session starts.
public bool AutoStart
Configuration
Recording configuration. Can be set before recording (before OnEnable or StartSession()).
public FrameRecorder.RecordingConfiguration Configuration
OnFinish
Event when recording ends.
public FrameRecorder.RecordFinishEvent OnFinish
OnReady
Events that can start recording.
public UnityEvent OnReady
OnRecording
Event when recording starts.
public FrameRecorder.RecordStartEvent OnRecording
Properties
AvailableFormats
All available formats, which vary depending on the platform.
public List<FrameRecorder.InternalFormat> AvailableFormats { get; }
RecordingFile
Absolute path of the currently recording file.
public string RecordingFile { get; }
RecordingFormat
Format of the currently recording file.
public Optional<FrameRecorder.InternalFormat> RecordingFormat { get; }
Status
Recording status.
public FrameRecorder.RecorderStatus Status { get; }