Class FrameRecorder
- Namespace
- easyar
- Assembly
- EasyAR.Sense.dll
Aeasyar.InputFrameRecorderandeasyar.VideoInputFrameRecorder-controllingMonoBehaviourin the scene, providing functionality extension within the Unity environment.
It is automatically assembled into theAssembly.
enabledcontrols recording start and stop.
[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 starts (before OnEnable orStartSession()).
public FrameRecorder.RecordingConfiguration Configuration
OnFinish
Event fired when recording stops.
public FrameRecorder.RecordFinishEvent OnFinish
OnReady
Event fired when recording can start.
public UnityEvent OnReady
OnRecording
Event fired when recording starts.
public FrameRecorder.RecordStartEvent OnRecording
Properties
AvailableFormats
All available formats, varies by platform.
public List<FrameRecorder.InternalFormat> AvailableFormats { get; }
RecordingFile
Absolute path of the file currently being recorded.
public string RecordingFile { get; }
RecordingFormat
Format of the file currently being recorded.
public Optional<FrameRecorder.InternalFormat> RecordingFormat { get; }
Status
Recording status.
public FrameRecorder.RecorderStatus Status { get; }
enabled
Start/stop recording atARSession runtime. Recording starts only after the session starts andMonoBehaviour.enabled is true.MonoBehaviour.enabled defaults to false and is set toAutoStart inARSession.Awake.
public bool enabled { get; set; }