Set Focus
setFocus(NGLVieweR, focus = 0)
A NGLVieweR object.
Set focus between 0 (default) to 100.
setFocus parameter in NGLVieweR
htmlwidgets
object.
Other options:
setQuality()
,
snapShot()
,
updateFocus()
,
updateFullscreen()
NGLVieweR("7CID") %>%
addRepresentation("cartoon", param=list(name="cartoon", colorValue="blue")) %>%
setFocus(0)