The ... parameters to propertySlider will be passed to
setter if the latter is a function, otherwise ignored. The ... parameters to par3dinterpSetter will be passed
to propertySetter.
propertySetter is a low-level general purpose function for modifying
properties of objects in the scene. It is mainly for internal use.
propertySlider uses it to generate Javascript for a slider control
to manipulate those properties. par3dinterpSetter uses
it to set parameters corresponding to values produced by the result of
par3dinterp.
The rows of the values matrix correspond to different settings
for numeric properties. The columns are values to insert into those properties.
Argument entries gives the numeric (zero based) index into the Javascript
property named by properties, for the object id objids, in the
display with prefix prefixes. All of these may be vectors, corresponding
to the columns of values. All but entries will be recycled
to the appropriate length; its length needs to match the number of
columns in values.
There are two modes for determining the values to substitute. In the simplest
mode (interp = FALSE in propertySetter),
each row of values corresponds to a location for the slider, and
the values are simply copied into place. This requires that param,
min, max and step take on their default values.
In other cases, linear interpolation is used between successive rows of values,
with extrapolation outside the range of param
repeating the first or last row. param should then
contain the values that correspond to exact rows.
In both cases, param must be a strictly increasing vector.