Table of Contents

Interface IEasyARMegaData

Namespace
easyar

IEasyARMegaDatamountedonthe<xrefuid="w:easyar.EasyARMegaComponent:class"data-throw-if-not-resolved="false">EasyARMegaComponent.

Properties

arTrackerId

TheIDoftheXRARTrackerintheXRFramescene.easyarwillfirstcallgetElementByIdtoretrievetheXRARTracker,e.g.,<xr-ar-trackerid="xrARTracker"/>,passin"xrARTracker".IfEasyARSessionfailstofindtheXRARTrackerbyIDduringcreation,itwillattempttofinditbytypeinthescene.See<https://developers.weixin.qq.com/miniprogram/dev/api/xr-frame/classes/XRARTracker.html>forXRARTrackerdefinition.

arTrackerId: string;

Property Value

cameraId

TheIDoftheXRCameraintheXRFramescene.easyarwillfirstcallgetElementByIdtoretrievetheXRCamera,e.g.,<xr-cameraid="xrCamera"/>,passin"xrCamera".IfEasyARSessionfailstofindtheXRCamerabyIDduringcreation,itwillattempttofinditbytypeinthescene.See<https://developers.weixin.qq.com/miniprogram/dev/api/xr-frame/classes/XRCamera.html>forXRCameradefinition.

cameraId: string;

Property Value