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
Field Value
Configuration
Recording configuration. Can be set before recording (before OnEnable or StartSession()).
public FrameRecorder.RecordingConfiguration Configuration
Field Value
OnFinish
Event when recording ends.
public FrameRecorder.RecordFinishEvent OnFinish
Field Value
OnReady
Events that can start recording.
public UnityEvent OnReady
Field Value
OnRecording
Event when recording starts.
public FrameRecorder.RecordStartEvent OnRecording
Field Value
Properties
AvailableFormats
All available formats, which vary depending on the platform.
public List<FrameRecorder.InternalFormat> AvailableFormats { get; }
Property Value
RecordingFile
Absolute path of the currently recording file.
public string RecordingFile { get; }
Property Value
RecordingFormat
Format of the currently recording file.
public Optional<FrameRecorder.InternalFormat> RecordingFormat { get; }
Property Value
Status
Recording status.
public FrameRecorder.RecorderStatus Status { get; }