Take a list specifying actions and execute them. This function should be called once an rgl scene has been setup and rendered. A typical usecase is to save a screenshot of the scene.
1 | perform.rglactions(rglactions, at_index = NULL, silent = TRUE)
|
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 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.