setFocus: Set Focus

Description Usage Arguments Value See Also Examples

View source: R/NGLVieweR.R

Description

Set Focus

Usage

1
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

updateFocus()

Other options: setQuality(), snapShot(), updateFocus(), updateFullscreen()

Examples

1
2
3
NGLVieweR("7CID") %>%
  addRepresentation("cartoon", param=list(name="cartoon", colorValue="blue")) %>%
  setFocus(0)

NGLVieweR documentation built on June 1, 2021, 9:08 a.m.