setFocus {NGLVieweR} | R Documentation |
Set Focus
Description
Set Focus
Usage
setFocus(NGLVieweR, focus = 0)
Arguments
NGLVieweR |
A NGLVieweR object. |
focus |
Set focus between 0 (default) to 100. |
Value
setFocus parameter in NGLVieweR
htmlwidgets
object.
See Also
Other options:
setQuality()
,
snapShot()
,
updateFocus()
,
updateFullscreen()
Examples
NGLVieweR("7CID") %>%
addRepresentation("cartoon", param=list(name="cartoon", colorValue="blue")) %>%
setFocus(0)
[Package NGLVieweR version 1.3.1 Index]