Usage
playwidget(sceneId, ...,
start = 0, stop = Inf, interval = 0.05, rate = 1,
components = c("Reverse", "Play", "Slower", "Faster",
"Reset", "Slider", "Label"),
loop = TRUE,
step = 1, labels = seq(from = start, to = stop, by = step),
precision = 3, width = "auto",
elementId = NULL, respondTo = NULL)
Arguments
sceneId
The HTML id of the rgl scene being controlled.
start, stop
The starting and stopping values of the animation.
interval
The requested interval (in seconds) between updates. Updates
may occur at longer intervals.
rate
The number of units of nominal time per real world
second.
components
Which components should be displayed? See Details below.
loop
When the player reaches the end of the interval,
should it loop back to the beginning?
step
Step size in the slider.
labels
Optional labels to use, corresponding to slider steps. Set to
NULL
for auto-generated labels.
precision
If labels=NULL
, the precision to use when displaying
timer values.
width
The CSS specification for the width of the slider.
elementId
The HTML id of the generated widget, containing buttons,
slider, etc.
respondTo
The HTML ID of an input control (e.g. a sliderInput
control) to respond to.