Table of Contents

Interface EasyARWechatMiniprogramPlugin

Namespace
easyar

EasyARWechatMiniprogramPlugin After depending on the WeChat Mini Program plugin, you can directly call the method to get the plugin object via requirePlugin("easyar-wechat-miniprogram").

Properties

createXRNodeFromNodeAnnotation

createXRNodeFromNodeAnnotation Creates an XRNode in the XRFrame scene based on the Node-type annotation.

createXRNodeFromNodeAnnotation: (nodeAnnotation: ema.v0_5.Node, blockHolder: BlockHolder) => xrfs.XRNode;

Property Value

getMegaSystem

getMegaSystem Obtains the easyar-mega interface system.

getMegaSystem: () => IMegaSystem;

Property Value

isMegaTrackerSupported

isMegaTrackerSupported Whether MegaTracker is available in the current running environment (device-model, operating-system). It is available when WeChat-VK v1 or v2 supports it. For device-models list, refer to <https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/visionkit/plane.html>

isMegaTrackerSupported: () => boolean;

Property Value

toXRFrame

toXRFrame Transforms Ema to the XRFrame coordinate-system.

toXRFrame: (emaTransform: ema.Transform) => LocalTransform;

Property Value