javascript - Locking the scroll(onmousewheel="false") in X3D model -


how lock mousewheel in x3d model in html?

<x3d showstat="false" showlog="false" x="0px" y="0px" width='750px' height='600px'>     <scene>         <viewpoint position="0 0 0" orientation="1 1 1 2"></viewpoint>         <matrixtransform id="teapotrotation">             <inline namespacename="deer" mapdeftoid="true" onclick='handlegroupclick(event);' url="new.x3d"/>         </matrixtransform>     </scene> </x3d> 

you can use navigationinfo restrict movement in scene. "type" parameter need use:
"examine" best rotating solitary objects
"fly" allows zooming in, out , around
"walk" allows exploration, on ground
"lookat" use pointer select geometry of interest
"any" lets user select mode
"none" gives user 0 control of navigation


Comments

Popular posts from this blog

python - How to insert QWidgets in the middle of a Layout? -

python - serve multiple gunicorn django instances under nginx ubuntu -

module - Prestashop displayPaymentReturn hook url -