Namespace easyar
Namespaces
- easyar.ema
Namespace
Classes
- APIKeyAccessData
Authentication data for EasyAR Cloud Service using API-Key. For details, please visit EasyAR Developer Center (https://www.easyar.cn).
- BlockController
Control the Mega block component in the scene.
- BlockHolder
Component that holds and manages Blocks in the scene.
- EasyARMegaComponent
EasyARMegaComponent is a Mega component defined in the xrframe framework. Components are the basic logical units of the xrframe scene, and their lifecycle is controlled by xrframe. For details, please refer to the official XrFramework documentation: <https://developers.weixin.qq.com/miniprogram/dev/component/xr-frame/core/component.html>.
- EasyARSession
Controls AR sessions in the scene, managing the data flow throughout the lifecycle. This component is the entry point for AR. Multiple active instances are not allowed at the same time. All features of the EasyAR component can only be used after the Session is initialized.
- ExplicitAddressAccessData
Authentication data for EasyAR cloud service that requires filling in the access address.
- MegaLandmarkFilter
Provide point query for MegaLandmark.
- MegaTracker
Provides cloud positioning functionality.
- ServiceAccessData
EasyAR cloud service authentication data.
- TokenAccessData
Authorization data for EasyAR cloud services using tokens. For related data, visit the EasyAR Developer Center (https://www.easyar.cn).
- getMegaSystem
Interfaces
- BlockInfo
Block-information-can-be-obtained-through-components.
- EasyARWechatMiniprogramPlugin
After depending on the WeChat Mini Program plugin, the method that can be directly called by obtaining the plugin object via requirePlugin("easyar-wechat-miniprogram").
- GeoLocation
GPS data.
- IEasyARMegaData
EasyARMegaComponent The data mounted on.
- LocalTransform
Local transform data.
- MegaLandmarkFilterResult
MegaLandmarkFilter Result of Filter.
- MegaLocalizationResult
Location result.
- MegaRequestTimeParameters
Mega request time parameter.
- MegaTrackerConfigs
Parameters required for creating MegaTracker.
- MegaTrackerSensorOptions
Sensor options in MegaTracker.
- ProximityLocationData
Proximity location data.
- SessionConfigs
Parameters required for creating EasyARSession.
- SessionStartOptions
Optional parameters when starting a session.
Enums
- BlockVisibleStrategy
{string} Control strategy for Block Element.visible.
- DeviceOrientation
{number} Device Orientation
- MegaApiType
{number} Mega API Type
- MegaLandmarkFilterStatus
{number} MegaLandmarkFilter query result status.
- MegaLocalizationStatus
Location status enumeration.
- SessionEvent
SessionEvent Events dispatched by the XRFrame Element proxy. Non-immediately triggered events will be dispatched before the current frame component lifecycle is driven. See details at: <https://developers.weixin.qq.com/miniprogram/dev/component/xr-frame/core/event.html>
- SessionState
Session status.
- GeoLocationInputMode
{("Onsite" | "Simulator")} GeoLocationInputMode - "Onsite" Input mode for on-site usage. Location data is obtained from the mini-program interface and input to Mega. - "Simulator" Input mode for remote usage. Location data needs to be simulated as on-site data and input to Mega via the corresponding interface.