subsetControl(value, subsets, subscenes = NULL,
fullset = Reduce(union, subsets),
accumulate = FALSE)
propertyControl(value, entries, properties, objids, values = NULL,
param = seq_len(NROW(values)), interp = TRUE)
input$value
in a Shiny app.fullset
will not be touched.NULL
, the
root subscene.TRUE
, the subsets will accumulate (by union)
as the value increases.value
param
valuessubsetControl
produces data for rglcontroller
to
display subsets of the object in one or more subscenes. This code will not
touch objects in the
subscenes if they
are not in fullset
. fullset
defaults to the union of
all the object ids mentioned in subsets
, so by default if an id is
not mentioned in one of the subsets, it will not be controlled by the slider.propertyControl
sets individual properties.
rglcontroller
for how to embed this in a Shiny app,
subsetSetter
for a way to embed a pure Javascript
control, and playwidget
for a way to use these
in animations.