google 硬纸板的磁铁拉力是否会触发框架中的点击事件?
Does magnet pull of google cardboard triggers click event in aframe?
我现在没有 Google 纸板来测试。我正在使用 universal-controls 和 mouse-cursor。在 Google 纸板上拉磁铁会触发点击事件吗?这是我的相机通用控件和光标
<a-entity camera="active:true;userHeight:1.8"
position="0 2.2 4" mouse-cursor
universal-controls="movementEnabled:false"></a-entity>
我正在使用 aframe v0.3.0 aframe extras v2.3.0
如果您使用 cursor
组件,它会。光标组件提供 Cardboard click 的实现(这只是屏幕点击)并发出 click/mouseenter/mouseleave 事件。
我现在没有 Google 纸板来测试。我正在使用 universal-controls 和 mouse-cursor。在 Google 纸板上拉磁铁会触发点击事件吗?这是我的相机通用控件和光标
<a-entity camera="active:true;userHeight:1.8"
position="0 2.2 4" mouse-cursor
universal-controls="movementEnabled:false"></a-entity>
我正在使用 aframe v0.3.0 aframe extras v2.3.0
如果您使用 cursor
组件,它会。光标组件提供 Cardboard click 的实现(这只是屏幕点击)并发出 click/mouseenter/mouseleave 事件。