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
Post a Comment