perform.rglactions: Perform rglactions, like taking screenshots.

View source: R/rglactions.R

perform.rglactionsR Documentation

Perform rglactions, like taking screenshots.

Description

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.

Usage

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

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

ignore

vector of character strings, actions to ignore


dfsp-spirit/fsbrain documentation built on Nov. 28, 2024, 10:29 a.m.