Class EditorCameraDeviceFrameSource
- Namespace
- easyar
- Assembly
- EasyAR.Sense.dll
Control in the editor easyar.CameraDevice of MonoBehaviour, only used for development diagnosis. Usually, all effects you see when this frame source is in use are different from running on the device. You can use it for application logic development unrelated to AR effects, but you cannot judge the effects of AR operation (detection, tracking, positioning, etc.) by it.
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
Only provided when creating a new frame source. It will only be accessed during Assemble() process.
Is the current frame source available.
If the value is equal to null, CheckAvailability() will be called, and the value will be obtained after Coroutine ends.
protected override Optional<bool> IsAvailable { get; }
Property Value
Methods
OnSessionStart(ARSession)
Only provided when creating a new frame source. It will only be accessed during StartSession() process.
Process session startup, if this frame source has been assembled into Assembly. This method is designed for lazy initialization, and you can do AR-specific initialization work in this method.
protected override void OnSessionStart(ARSession session)
Parameters
session