subsceneInfo | R Documentation |
This function retrieves information about the tree of subscenes shown in the active window.
subsceneInfo(id = NA, embeddings, recursive = FALSE)
id |
Which subscene to report on; |
embeddings |
Optional new setting for the embeddings for this subscene. |
recursive |
Whether to report on children recursively. |
In RGL, each window contains a tree of “subscenes”, each containing views of a subset of the objects defined in the window.
Rendering in each subscene depends on the viewport, the projection, and the model
transformation. Each of these characteristics may be inherited from the parent
(embedding[i] = "inherit"
), may modify the parent (embedding[i] = "modify"
),
or may replace the parent (embedding[i] == "replace"
). All three must be
specified if embeddings
is used.
id |
The object id of the subscene |
parent |
The object id of the parent subscene, if any |
children |
If |
embedding |
A vector of 3 components describing how this subscene is embedded in its parent. |
Duncan Murdoch
newSubscene3d
example(plot3d)
subsceneInfo()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.