Description Usage Arguments Value See Also Examples
Set Focus
1 |
NGLVieweR |
A NGLVieweR object. |
focus |
Set focus between 0 (default) to 100. |
setFocus parameter in NGLVieweR
htmlwidgets
object.
Other options:
setQuality()
,
snapShot()
,
updateFocus()
,
updateFullscreen()
1 2 3 | NGLVieweR("7CID") %>%
addRepresentation("cartoon", param=list(name="cartoon", colorValue="blue")) %>%
setFocus(0)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.