Switches & Sequences
A pfSwitch allows the selection of one, none, or all of its child
nodes for drawing.
To select a single child, val should be the number of that
child (in the range 0 to numchildren-1).
val=PFSWITCH_ON selects all the children;
val=PFSWITCH_OFF deselects all the children.
Only the selected children will be traversed during subsequent
A pfSequence automatically cycles through a range of children,
displaying each one for a given length of time.
The setTime method sets how long a given
frame (child node) will be displayed.
setInterval and setDuration can be used to alter
various sequencing options, such as speed and cycling method.
setMode starts and stops the sequence.
Simple pfSequence example
Table of contents
Last modified 5 February 1996.
Dave Pape, email@example.com