<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ??碼云GVP開源項目 12k star Uniapp+ElementUI 功能強大 支持多語言、二開方便! 廣告
                # wx.onDeviceMotionChange ### wx.onDeviceMotionChange(function callback) > 支持版本 >= 2.3.0 監聽設備方向變化事件,頻率根據 [wx.startDeviceMotionListening()](/read/wechat-game-api/25.md) 的 interval 參數。可以使用 [wx.stopDeviceMotionListening()](/read/wechat-game-api/26.md) 停止監聽。 #### 參數 ##### function callback 設備方向變化事件的回調函數 ###### 參數 **Object res** 屬性類型說明支持版本alphanumber當 手機坐標 X/Y 和 地球 X/Y 重合時,繞著 Z 軸轉動的夾角為 alpha,范圍值為 \[0, 2\*PI)。逆時針轉動為正。betanumber當手機坐標 Y/Z 和地球 Y/Z 重合時,繞著 X 軸轉動的夾角為 beta。范圍值為 \[-1\*PI, PI) 。頂部朝著地球表面轉動為正。也有可能朝著用戶為正。gammanumber當手機 X/Z 和地球 X/Z 重合時,繞著 Y 軸轉動的夾角為 gamma。范圍值為 \[-1\*PI/2, PI/2)。右邊朝著地球表面轉動為正。> 原文: <https://developers.weixin.qq.com/minigame/dev/api/device/motion/wx.onDeviceMotionChange.html>
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看