BooleanSequencer
BooleanSequencer generates periodic discrete Boolean values that can be ROUTEd to other Boolean attributes. Typical input: ROUTE someTimeSensor.fraction_changed TO someInterpolator.set_fraction Typical output: ROUTE someInterpolator.value_changed TO destinationNode.set_attribute.
Inheritance
Code
XML encoding
<BooleanSequencer logFeature='' enabled='TRUE' key='' keyValue='' />
Classic encoding
BooleanSequencer { logFeature [""] enabled TRUE key [] keyValue [] }
Interface
Filter: X3D only | Avalon only | All
id | Name | DataType | PartType | Default | ValueType | Description |
---|---|---|---|---|---|---|
next | SFBool | inputOnly | Trigger next output value in keyValue array. Hint: loops from last to first if necessary. | |||
previous | SFBool | inputOnly | Trigger previous output value in keyValue array. Hint: loops from first to last if necessary. | |||
set_fraction | SFFloat | inputOnly | set_fraction selects input key for corresponding keyValue output. | |||
key | MFFloat | inputOutput | Definition parameters for linear-interpolation function time intervals, in increasing order and corresponding to keyValues. Hint: number of keys must match number of keyValues! | |||
keyValue | MFBool | inputOutput | Output values for linear interopolation, each corresponding to time-fraction keys. Hint: number of keys must match number of keyValues! | |||
value_changed | SFBool | outputOnly | Single intermittent output value determined by current key time and corresponding keyValue pair. | |||
enabled | SFBool | inputOutput | TRUE | Enables or disables the node. A node that is disabled does not react to incoming events and does not send events. | ||
logFeature | MFString | inputOutput | state, child, parent, route, eventIn, eventOut | controls the logging of changes, state: log state changes (e.g. live), child: log child add/remove, parent: log parent add/remove, route: log route add/remove; eventIn: log receiving of events, eventOut: log sending of events: guiView, runtime system should create node-view, guiEdit: runtime system should create node-editeverything: log everything | ||
metadata | SFNode | inputOutput | MetadataObject | container for payload metadata inside MetadataSet element |