Table of Contents

Class EditorCameraDeviceFrameSource

Namespace
easyar
Assembly
EasyAR.Sense.dll

A MonoBehaviour that controls an easyar.CameraDevice in the editor, provided only for development diagnostics. Usually, when this frame source is used, all effects you see are different from running on a device. You can use it to develop application logic unrelated to AR effects, but you cannot use it to judge AR runtime effects such as detection, tracking, or localization.

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 is accessed only during Assemble().

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; }

Methods

OnSessionStart(ARSession)

Provided only when creating a new frame source. It is accessed only during StartSession().

Handles session startup if this frame source has already been assembled into Assembly. This method is designed for lazy initialization, and you can perform AR-specific initialization work in it.

protected override void OnSessionStart(ARSession session)

Parameters

session