renderWebGL {shinyRGL} | R Documentation |
Render a WebGL Element
Description
Render a WebGL Shiny output.
Usage
renderWebGL(expr, width = "auto", height = "auto",
env = parent.frame(), quoted = FALSE)
Arguments
expr |
The expression to be evaluated which should produce a rgl scene. |
width |
Either "auto", in which case the width will be calculated (reactively) based on the size of the glOutput element associated with this function, or a numeric value representing the width of the desired WebGL scene in pixels. |
height |
The height of the WebGL scene. See
|
env |
The environment in which |
quoted |
Is |
Author(s)
Jeff Allen jeff@trestletech.com
Examples
## Not run:
renderWebGL({
points3d(1:10,1:10,1:10)
})
## End(Not run)
[Package shinyRGL version 0.1.0 Index]