Toggler
Toggles between the two boolean states TRUE and FALSE (flip flop).
Inheritance
Code
XML encoding
<Toggler status='FALSE' notStatus='TRUE' enabled='TRUE' logFeature='' />
Classic encoding
Toggler { status FALSE notStatus TRUE enabled TRUE logFeature [""] }
Interface
Filter: X3D only | Avalon only | All
id | Name | DataType | PartType | Default | ValueType | Description |
---|---|---|---|---|---|---|
status | SFBool | inputOutput | FALSE | Sets the internal status of the Toggler to the boolean value received on this inslot. Sends the internal status of the Toggler to the outslot. | ||
notStatus | SFBool | inputOutput | TRUE | Sets the internal status of the Toggler to the negated boolean value received on this inslot. Sends the negated internal status of the Toggler to outslot. | ||
toggle | XFAny | inputOnly | Toggles the internal status of the Toggler between TRUE and FALSE when an event is received on this inslot. The concrete type and value of the event does not matter. | |||
set | XFAny | inputOnly | Sets the internal status of the Toggler to TRUE when an event is received on this inslot. The concrete type and value of the event does not matter. | |||
reset | XFAny | inputOnly | Sets the internal status of the Toggler to FALSE when an event is received on this inslot. The concrete type and value of the event does not matter. | |||
changed | XFAny | outputOnly | This outslot sends a TRUE value when the internal status of the Toggler changes. | |||
on | XFAny | outputOnly | This outslot sends a TRUE event when the internal status of the Toggler changes to TRUE. | |||
off | XFAny | outputOnly | This outslot sends a TRUE event when the internal status of the Toggler changes to FALSE. | |||
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 |