浏览器鼠标事件

 

 

            sceneRef.current.addEventListener('click', clickFunc, false);
            sceneRef.current.addEventListener('dblclick', dblclickFunc, false);
            sceneRef.current.addEventListener('mousedown', mousedownFunc, false);
            sceneRef.current.addEventListener('mouseup', mouseupFunc, false);
            sceneRef.current.addEventListener('mousemove', mousemoveFunc, false);
            sceneRef.current.addEventListener('mouseleave', mouseleaveFunc, false);

 

posted @ 2024-10-29 18:27  SimoonJia  阅读(2)  评论(0编辑  收藏  举报