Gate
Gate nodes can be used to control the transfer of events. Events that are sent to the "in" inslot are only transferred to the "out" outslot when the Gate is enabled.
Inheritance
Code
XML encoding
<Gate enabled='TRUE' logFeature='' />
Classic encoding
Gate { enabled TRUE logFeature [""] }
Interface
Filter: X3D only | Avalon only | All
id | Name | DataType | PartType | Default | ValueType | Description |
---|---|---|---|---|---|---|
in | XFAny | inputOnly | Events received on this inslot are sent via the "out" outslot when the Gate node is enabled. | |||
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 | ||
out | XFAny | outputOnly | Sends the events received on the "in" inslot when the Gate node is enabled. |