Post

BooleanTrigger

BooleanTrigger

Overview

BooleanTrigger converts time events to boolean true events.

The BooleanTrigger 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
4
+ X3DNode
  + X3DChildNode
    + X3DTriggerNode
      + BooleanTrigger

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

SFTime [in] set_triggerTime (-∞,∞)

set_triggerTime provides input time event, typical event sent is TouchSensor touchTime.

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] triggerTrue

triggerTrue outputs a true value whenever a triggerTime event is received.

Warning

  • It is an error to define this transient outputOnly field in an X3D file, instead only use it a source for ROUTE events.

Advice

Hints

See Also

This post is licensed under CC BY 4.0 by the author.