Class FrameRecorder
- 네임스페이스
- easyar
- 어셈블리
- EasyAR.Sense.dll
씬에서 easyar.InputFrameRecorder 및 easyar.VideoInputFrameRecorder를 제어하는 MonoBehaviour로, 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; }