Post

TimeTrigger

TimeTrigger

Overview

TimeTrigger converts boolean true events to time events.

The TimeTrigger 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
      + TimeTrigger

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

If input event set_boolean is true, send output triggerTime event.

Hint

  • For logical consistency, input event set_boolean false has no effect (under review as part of Mantis issue 519).

Warning

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

SFTime [out] triggerTime

triggerTime is output time event, sent when input event set_boolean is true.

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.