perform.rglactions | R Documentation |
Take a list specifying actions, see rglactions
, and execute them. This function should be called once an rgl scene has been setup and rendered. A typical use case is to save a screenshot of the scene.
perform.rglactions(rglactions, at_index = NULL, silent = TRUE, ignore = c())
rglactions |
named list. A list in which the names are from a set of pre-defined actions. The values can be used to specify parameters for the action. See |
at_index |
integer, the index to use in case of vectorized entries. Allows using different output_images for different views or similar. |
silent |
logical, whether to suppress messages |
ignore |
vector of character strings, actions to ignore |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.