BooleanToggle
BooleanToggle maintains state and negates output when a true input is provided.
Inheritance
Code
XML encoding
<BooleanToggle logFeature='' enabled='TRUE' toggle='FALSE' />
Classic encoding
BooleanToggle { logFeature [""] enabled TRUE toggle FALSE }
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. | ||
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 | ||
set_boolean | SFBool | inputOnly | If set_boolean input is true, toggle state. | |||
toggle | SFBool | inputOutput | FALSE | Persistent state value that gets toggled or reset. |