Table of Contents

Interface IEasyARMegaData

Namespace
easyar

Data mounted on EasyARMegaComponent.

Properties

arTrackerId

XRARTracker ID in the xrframe scene. easyar first calls getElementById to retrieve XRARTracker, for example , in which case "xrARTracker" is passed. If EasyARSession cannot find XRARTracker by ID when created, EasyARSession will try to find it in the scene by XRARTracker type. For the definition of XRARTracker, see <https://developers.weixin.qq.com/miniprogram/dev/api/xr-frame/classes/XRARTracker.html>.

arTrackerId: string;

cameraId

XR camera ID in the xrframe scene. easyar first calls getElementById to retrieve the XR camera, for example , in which case "xrCamera" is passed. If EasyARSession cannot find the XR camera by ID when created, EasyARSession will try to find it in the scene by XRCamera type. For the definition of XRCamera, see <https://developers.weixin.qq.com/miniprogram/dev/api/xr-frame/classes/XRCamera.html>.

cameraId: string;