Table of Contents

Class EditorCameraDeviceFrameSource

Namespace
easyar
Assembly
EasyAR.Sense.dll

Controls the easyar.CameraDevice's MonoBehaviour in the editor, used only for development diagnostics. Typically, when this frame source is in use, all effects you see are different from those running on the device. You can use it to develop application logic unrelated to AR effects, but you cannot rely on it to judge the effectiveness of AR operations (detection, tracking, localization, etc.).

This frame source is not a motion-tracking device and will not output motion data in ARSession.

public class EditorCameraDeviceFrameSource : CameraDeviceFrameSource
Inheritance
EditorCameraDeviceFrameSource
Inherited Members

Properties

IsAvailable

Provided only when creating a new frame source. It will only be accessed during the Assemble() process.

Whether the current frame source is available.

If the value is null, CheckAvailability() will be called, and the value will be obtained after the Coroutine ends.

protected override Optional<bool> IsAvailable { get; }

Property Value

Methods

OnSessionStart(ARSession)

Provided only when creating a new frame source. It will only be accessed during the StartSession() process.

Handles session startup if this frame source has been assembled into Assembly. This method is designed for delayed initialization; you can perform AR-specific initialization work in this method.

protected override void OnSessionStart(ARSession session)

Parameters

session