html - Can I restrict viewport manipulation in X3DOM to prevent zooming? -


i have 3d model need display on webpage, using x3dom.

i visitors page able click , drag image, rotating on axis, don't want them have ability zoom. can figure out how give them rotational ability , zoom. can't figure out how restrict zoom aspects of viewport.

<x3d id='someuniqueid' showstat='false' showlog='false' x='0px' y='0px' width='1920px' height='1080px'>   <scene>     <navigationinfo type='"turntable"'></navigationinfo>     <inline url='models/model.x3d' inline>   <scene> </x3d> 

the turntable type has typeparams feature, i've tried. doesn't seem restrict zoom. thoughts on how can allow rotation, while preventing zoom.

adding speed = 0 navigationinfo should that.

<navigationinfo type="turntable" speed="0"/> 

Comments

Popular posts from this blog

html - Firefox flex bug applied to buttons? -

html - Missing border-right in select on Firefox -

c# - two queries in same method -