rgl (version 0.83-3)

rgl.bringtotop: Assign focus to an RGL window

Description

'rgl.bringtotop' brings the current RGL window to the front of the window stack (and gives it focus).

Usage

rgl.bringtotop(stay = FALSE)

Arguments

stay
whether to make the window stay on top.

Details

If stay is TRUE, then the window will stay on top of normal windows.

See Also

bringToTop

Examples

Run this code
rgl.open()
rgl.points(rnorm(1000), rnorm(1000), rnorm(1000), color=heat.colors(1000))
rgl.bringtotop(stay = TRUE)

Run the code above in your browser using DataCamp Workspace