ValueTrigger
An ValueTrigger node sends all its dynamic fields if a value TRUE is received at the trigger eventIn field. If there is a dynamic field with the name filter, then an event is only triggered, when type and value of the incomming event is equal to the filter field.
Inheritance
Code
XML encoding
<ValueTrigger enabled='TRUE' logFeature='' />
Classic encoding
ValueTrigger { enabled TRUE logFeature [""] }
Interface
Filter: X3D only | Avalon only | All
id | Name | DataType | PartType | Default | ValueType | Description |
---|---|---|---|---|---|---|
trigger | XFAny | inputOnly | If an incomming trigger event is TRUE, then all dynamic fields are marked as changed and connected routes are 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 |