Table of Contents

Interface IEasyARMegaData

Namespace
easyar

EasyARMegaComponent The data mounted on.

Properties

arTrackerId

In the xrframe scene, XRARTracker ID, easyar will first call getElementById to retrieve XRARTracker, for example , pass in "xrARTracker". If when creating EasyARSession, it fails to find XRARTracker via ID, EasyARSession will attempt to find by XRARTracker type in the scene. The definition of XRARTracker can be found at <https://developers.weixin.qq.com/miniprogram/dev/api/xr-frame/classes/XRARTracker.html>.

arTrackerId: string;

cameraId

In the xrframe scene, XRCamera ID, easyar will first call getElementById to retrieve XRCamera, for example , pass in "xrCamera". If when creating EasyARSession, it fails to find XRCamera via ID, EasyARSession will attempt to find by XRCamera type in the scene. The definition of XRCamera can be found at <https://developers.weixin.qq.com/miniprogram/dev/api/xr-frame/classes/XRCamera.html>.

cameraId: string;