Table of Contents

Interface IEasyARMegaData

Namespace
easyar

IEasyARMegaData EasyARMegaComponent data mounted on.

Properties

arTrackerId

XRARTracker ID in xrframe scene, EasyAR will first call getElementById to retrieve XRARTracker, for example , pass "xrARTracker" at this time. If EasyARSession fails to find XRARTracker by ID when creating, EasyARSession will try to find it in the scene by XRARTracker type. For the definition of XRARTracker, please see https://developers.weixin.qq.com/miniprogram/dev/api/xr-frame/classes/XRARTracker.html.

arTrackerId: string;

Property Value

cameraId

XR Camera ID in xrframe scene, EasyAR will first call getElementById to retrieve XR Camera, for example , pass "xrCamera" at this time. If EasyARSession fails to find XR Camera by ID when creating, EasyARSession will try to find it in the scene by XRCamera type. For the definition of XRCamera, please see https://developers.weixin.qq.com/miniprogram/dev/api/xr-frame/classes/XRCamera.html.

cameraId: string;

Property Value