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
Providedonlywhencreatinganewframesource.ItisaccessedonlyduringtheAssembleprocessof
Whetherthecurrentframesourceisavailable.
Ifthevalueisnull,
protected override Optional<bool> IsAvailable { get; }
Methods
OnSessionStart(ARSession)
Providedonlywhencreatinganewframesource.ItisaccessedonlyduringtheStartSessionprocessof
Handlessessionstartupifthisframesourcehasbeenassembledinto
protected override void OnSessionStart(ARSession session)
Parameters
session