BooleanFilter
Overview
BooleanFilter selectively passes true, false or negated events.
The BooleanFilter node belongs to the EventUtilities component and requires at least level 1, its default container field is children. It is available from X3D version 3.0 or higher.
Hierarchy
1
2
3
+ X3DNode
+ X3DChildNode
+ BooleanFilter
Fields
SFNode [in, out] metadata NULL [X3DMetadataObject]
Information about this node can be contained in a MetadataBoolean, MetadataDouble, MetadataFloat, MetadataInteger, MetadataString or MetadataSet node.
Hint
SFBool [in] set_boolean
set_boolean is the input value to be filtered.
Warning
- It is an error to define this transient inputOnly field in an X3D file, instead only use it a destination for ROUTE events.
SFBool [out] inputTrue
inputTrue only passes a true value, which occurs when set_boolean input is true.
Hint
- inputTrue is an output event that can only provide a value of true.
SFBool [out] inputFalse
inputFalse only passes a false value, which occurs when set_boolean is false.
Hint
- inputFalse is an output event that can only provide a value of false.
SFBool [out] inputNegate
inputNegate is an output event that provides an opposite value by negating set_boolean input.
Advice
Hints
See Also
This post is licensed under CC BY 4.0 by the author.