Namespace easyar
Namespaces
- easyar.ema
Namespace
類
- APIKeyAccessData
使用API Key的EasyAR雲服務鑒權數據。有關數據請訪問EasyAR開發中心(https://www.easyar.cn)獲取。
- BlockController
在場景中控制Mega block的Component。
- BlockHolder
持有Block的組件,在场景中持有並管理Block。
- EasyARMegaComponent
EasyARMegaComponent 在xrframe框架中定義的Mega元件。元件是xrframe scene的基本邏輯單位,其生命週期由xrframe控制。詳細內容請參考XrFramework官方文件:<https://developers.weixin.qq.com/miniprogram/dev/component/xr-frame/core/component.html>。
- EasyARSession
在場景中控制AR會話,控制整個生命週期的資料流。這個組件是AR的入口。同一時刻不允許出現多個active的實例。EasyAR組件的所有功能必須在Session初始化完成之後才能使用。
- ExplicitAddressAccessData
需要填寫訪問地址的EasyAR雲服務鑑權資料。
- MegaLandmarkFilter
提供MegaLandmark的點位查詢。
- MegaTracker
提供雲定位功能。
- ServiceAccessData
EasyAR雲服務驗證數據。
- TokenAccessData
使用token的EasyAR雲服務鑑權數據。有關數據請訪問EasyAR開發中心(https://www.easyar.cn)獲取。
- getMegaSystem
介面
- BlockInfo
Block的資訊,可通過component獲取。
- EasyARWechatMiniprogramPlugin
依賴微信小程序插件後通過requirePlugin("easyar-wechat-miniprogram")獲取插件對象可以直接調用的方法。
- GeoLocation
GPS數據。
- IEasyARMegaData
EasyARMegaComponent 上掛載的數據。
- LocalTransform
Local transform 資料。
- MegaLandmarkFilterResult
MegaLandmarkFilter Filter的結果。
- MegaLocalizationResult
定位結果。
- MegaRequestTimeParameters
Mega請求時間參數。
- MegaTrackerConfigs
用於創建 MegaTracker 所需要的參數。
- MegaTrackerSensorOptions
MegaTracker中的傳感器選項。
- ProximityLocationData
鄰近位置數據。
- SessionConfigs
用于創建 EasyARSession 所需要的參數。
- SessionStartOptions
啟動Session時的可選參數。
列舉
- BlockVisibleStrategy
{string} Block Element.visible 的控制策略。
- DeviceOrientation
{number} 設備朝向
- MegaApiType
{number} Mega API類型
- MegaLandmarkFilterStatus
{number} MegaLandmarkFilter 的查詢結果狀態。
- MegaLocalizationStatus
定位狀態枚舉。
- SessionEvent
SessionEvent Session由XRFrame Element代理下發的事件。 非立即觸發的事件將在當前幀組件生命週期驅動前派發,詳見: <https://developers.weixin.qq.com/miniprogram/dev/component/xr-frame/core/event.html>
- SessionState
Session的狀態。
- GeoLocationInputMode
{("Onsite" | "Simulator")} GeoLocationInputMode - "Onsite" 在現場使用的情況的輸入模式。位置數據從小程式介面獲取並輸入到Mega。 - "Simulator" 遠程使用的情況的輸入模式,位置數據需要模擬成現場數據並通過對應介面輸入Mega。