EventTunnel
An EventTunnel node synchronizes its dynamic fields with all other EventTunnels with the same label. Only dynamic fields with the same name and type are synchronized. A change to any field is automatically send to all other fields. It is guaranteed that even the initial value is transfered to all other nodes. This node can be used to implement something like a global state that is reachable from Proto instances.
Inheritance
Code
XML encoding
<EventTunnel label='' enabled='TRUE' logFeature='' />
Classic encoding
EventTunnel { label "" enabled TRUE logFeature [""] }
Interface
Filter: X3D only | Avalon only | All
id | Name | DataType | PartType | Default | ValueType | Description |
---|---|---|---|---|---|---|
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. | ||
label | SFString | initializeOnly | The label of the EventTunnel node. All EventTunnel nodes in the scene that have the same label synchronize their field values. | |||
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 |