IntegerTrigger
IntegerTrigger converts boolean true or time input events to integer value (suitable for Switch node).
Inheritance
Code
XML encoding
<IntegerTrigger integerKey='-1' enabled='TRUE' logFeature='' />
Classic encoding
IntegerTrigger { integerKey -1 enabled TRUE logFeature [""] }
Interface
Filter: X3D only | Avalon only | All
id | Name | DataType | PartType | Default | ValueType | Description |
---|---|---|---|---|---|---|
set_boolean | SFBool | inputOnly | If set_boolean input is true, trigger output of integer value. | |||
triggerValue | SFInt32 | outputOnly | triggerValue provides integer event output matching integerKey when true set_boolean received. | |||
integerKey | SFInt32 | inputOutput | -1 | integerKey is value for output when triggered. | ||
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 |