IntegerSequencer
IntegerSequencer generates periodic discrete integer values that can be ROUTEd to other SFInt32 attributes (for example, when animating whichChoice in a Switch node).
The IntegerSequencer node belongs to the EventUtilities component and its container field is children. It is available since X3D version 3.0 or later.
Fields
SFNode [in, out] metadata NULL [X3DMetadataObject]
Metadata are not part of the X3D world and not interpreted by the X3D browser, but they can be accessed via the ECMAScript interface.
SFFloat [in] set_fraction
Set_fraction selects input key for corresponding keyValue output.
SFBool [in] previous
Send previous output value in keyValue array, and reset internal fraction field to match corresponding value in key array.
Hint
"wrap around" boundary of keyValue array, i.e. continue from first to last if necessary.
SFBool [in] next
Send next output value in keyValue array, and reset internal fraction field to match corresponding value in key array.
Hint
"wrap around" boundary of keyValue array, i.e. continue from last to first if necessary.
MFFloat [in, out] key [ ] (-∞,∞)
Definition parameters for linear-interpolation function time intervals, in increasing order and corresponding to keyValues.
Warning
Number of keys must match number of keyValues!
MFInt32 [in, out] keyValue [ ] (-∞,∞)
Output values for linear interpolation, each corresponding to time-fraction keys.
Warning
Number of keys must match number of keyValues!
SFInt32 [out] value_changed
Single intermittent output value determined by current key time and corresponding keyValue pair.