[x3d-public] next, previous sequencer events
Andreas Plesch
andreasplesch at gmail.com
Sat Sep 2 20:33:20 PDT 2017
Unlike Interolators, Sequencers have the ability to advance to the next
value in the keyValue array by receiving a true value to their next field.
http://www.web3d.org/documents/specifications/19775-1/V3.3/Part01/components/utils.html#X3DSequencerNode
has one and only one sentence defining this behaviour.
"triggers the next output value in keyValue array"
So what is the next output value ? Presumably, the next value relative the
value corresponding to the last received set_fraction value.
But what if there were two next events in a row ? Presumably, this would be
expected to step through all keyValues. Now the second next is not relative
to the last received set_fraction value but relative to the last
value_changed value.
So it seems that next and previous refers to last issued output
(value_changed).
I am fairly confident that this is the expected understanding. If this is
correct, perhaps an additional sentence in the spec. is warranted.
-Andreas
--
Andreas Plesch
39 Barbara Rd.
Waltham, MA 02453
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20170902/665a4a28/attachment-0001.html>
More information about the x3d-public
mailing list