Zoom current view by a constant factor
m_zoom(id, factor = 2, animationDuration, fixedPath)
R3dmol id
or a r3dmol
object (the output from
r3dmol()
)
Magnification numeric
factor. Values greater than
1
will
zoom in, less than one will zoom out. Default 2
.
an optional parameter of milliseconds numeric
that denotes the duration of a zoom animation
if true
animation is constrained to
requested motion, overriding updates that happen during the animation
R3dmol id
or a r3dmol
object (the output from
r3dmol()
)