在移动设备上进入 VR 模式时,A 框光标消失了

Aframe a-cursor has gone when entering VR mode on mobile

框架版本:1.0.3

平台:android

浏览器:chrome 和 firefox

当我进入VR模式时,手机上的光标(a-cursor标签)消失了。

有什么方法可以让我 enable/add 光标处于 VR 模式时?或

为什么进入VR模式后光标消失了。

</p> <pre><code> <a-assets style="display:none;visibility: hidden;opacity: 0;" ></a-assets> <a-sky id="sky" radius="90" src="" rotation="-3.7000000000000006 192.27000000000004 -3.58" material="" geometry="" animation__fadeIn="property: material.color; type:color; from:#ffffff; to:#000000; dur: 500; dir: normal; easing: easeInSine; startEvents:fadeIn" animation__fadeOut="property: material.color; type:color; from:#000000; to:#ffffff; dur: 500; dir: normal; easing: easeInSine; startEvents:fadeOut"></a-sky> <a-camera wasd-controls-enabled="false" mouse-cursor="" active="true" look-controls="" wasd-controls="" data-aframe-inspector-original-camera="" device-orientation-permission-ui=""> <a-cursor id="cursorBlack" fuse="true" fuse-timeout="2000" raycaster="objects: .clickable" geometry="radiusOuter: 0.04; radiusInner: 0.00001" material="color: black" position="0 0 -2" opacity="0.5" visible="" cursor=""></a-cursor> <a-cursor id="mouseCursor" raycaster="objects: .clickable; useWorldCoordinates: true" cursor="rayOrigin: mouse"></a-cursor> <a-entity id="cursorBlue" position="0 0 -2" geometry="primitive: ring; radiusInner: 0.09; radiusOuter: 0.1; thetaStart: 90" material="color: #439DC2" visible="false" animation__loadCursor="property: geometry.thetaLength; from:360; to:1; dur: 2000; dir: normal; easing: easeInSine; startEvents:loadCursor"> </a-entity> </a-camera> <a-entity style="display:none; visibility: hidden;opacity: 0;" id = "sceneContainer" visible = "true"></a-entity> </a-scene>

这是一个已知错误,已修复并将在即将发布的 1.0.4 版本中发布。您可以同时使用主版本:

https://cdn.jsdelivr.net/gh/aframevr/aframe@2c5c131dccaab9d449fcd0383e98d027a5bc07f6/dist/aframe-master.min.js