instantreality 1.0

Component:
EventUtilities
Status:
fully implemented
Structure type:
concrete
Standard:
X3D3.0

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
MFString 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
SFBool 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.
SFBool set_boolean SFBool inputOnly If set_boolean input is true, toggle state.
SFBool toggle SFBool inputOutput FALSE Persistent state value that gets toggled or reset.
SFNode metadata SFNode inputOutput MetadataObject container for payload metadata inside MetadataSet element