Rotate scene by angle degrees around axis
m_rotate(id, angle, axis = "v", animationDuration = 0, fixedPath)
R3dmol id
or a r3dmol
object (the output from
r3dmol()
)
Angle, in degrees numeric
, to rotate by.
Axis ("x"
, "y"
, "z"
, "vx"
,
"vy"
, "vz"
)
to rotate around. Default "y"
. View relative (rather than model
relative) axes are prefixed with "v"
. Axis can also be specified as a
vector.
an optional parameter of milliseconds numeric
that denotes the duration of the rotation animation. Default 0
(no
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()
)