tagged3d | R Documentation |
Objects with material properties may have an arbitrary string set as a tag. This function retrieves the id values associated with a given tag, or the tags set on given ids.
tagged3d(tags = NULL, ids = NULL, full = FALSE, subscene = 0)
tags |
A vector of tags to use for selection. |
ids |
A vector of ids to report the tags on. |
full |
logical; whether to return
a dataframe containing |
subscene |
Where to look: by default, the whole scene is searched.
|
Exactly one of tags
and ids
must be specified.
A dataframe is constructed with columns
id |
item id |
type |
item type |
tag |
item tag |
matching the specified tags
or ids
value.
If full = TRUE
, the full dataframe is returned, otherwise
just the requested ids or tags.
If ids
is specified, the return value will be
in the same order
as ids
).
Duncan Murdoch
open3d()
ids <- plot3d(rnorm(10), rnorm(10), rnorm(10), tag = "plot")
unclass(ids)
tagged3d("plot")
tagged3d(ids = ids, full = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.