Learn R Programming

fsbrain (version 0.4.2)

perform.rglactions: Perform rglactions, like taking screenshots.

Description

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.

Usage

perform.rglactions(rglactions, at_index = NULL, silent = TRUE)

Arguments

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 rglactions.

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