Interface MegaTrackerSensorOptions
- 命名空間
- easyar
MegaTracker中的傳感器選項。
屬性
isAcceExternalControl
加速度計數據是否由外部控制,默認為false。傳入true時,用戶必須在 EasyARSession.start 前調用wx.startLocationUpdate或相應開啟加速度計監聽接口。必須在 EasyARSession.stop 後才能調用wx.stopAccelerometer或相應停止加速度計監聽接口。
isAcceExternalControl?: boolean;
isGeoExternalControl
GPS數據是否由外部控制,默認為false。傳入true時,用戶必須在 EasyARSession.start 前調用wx.startLocationUpdate或相應開啟GPS數據監聽接口。必須在 EasyARSession.stop 後才能調用wx.stopLocationUpdate或相應停止GPS數據監聽接口。
isGeoExternalControl?: boolean;