Difference between revisions of "BooleanTrigger"

From Web3D.org
Jump to: navigation, search
 
 
Line 1: Line 1:
 
*[[Node Reference]]
 
*[[Node Reference]]
 
==BooleanTrigger==
 
==BooleanTrigger==
 +
 +
Specification Link: [http://www.web3d.org/documents/specifications/19775-1/V3.3/Part01/components/utils.html#BooleanTrigger BooleanTrigger]
 +
 
<pre>
 
<pre>
 
BooleanTrigger : X3DTriggerNode {
 
BooleanTrigger : X3DTriggerNode {
Line 9: Line 12:
 
</pre>
 
</pre>
  
BooleanTrigger is a trigger node that generates boolean events upon receiving time events.
 
  
 +
==DTD Validation==
 +
 +
===Children===
 +
 +
Children must appear as follows:
 +
 +
# A single, optional IS.
 +
# A single, optional node derived from ''X3DMetadataObject'' for the ''metadata'' field.
 +
 +
===Attributes===
 +
 +
None of the fields require any additional value validation.
 +
 +
==Schema Validation==
 +
 +
===Children===
 +
 +
Children must appear as follows:
 +
 +
# A single, optional IS.
 +
# A single, optional node derived from ''X3DMetadataObject'' for the ''metadata'' field.
 +
 +
===Attributes===
 +
 +
None of the fields require any additional value validation.
 +
 +
==Schematron validation==
 +
 +
TBD
  
The triggerTrue event is generated when the BooleanTrigger receives a set_triggerTime event. The value of triggerTrue shall always be TRUE.
 
 
*[[Node Reference]]
 
*[[Node Reference]]

Latest revision as of 13:41, 26 April 2015

BooleanTrigger

Specification Link: BooleanTrigger

BooleanTrigger : X3DTriggerNode {
  SFTime [in]     set_triggerTime
  SFNode [in,out] metadata        NULL [X3DMetadataObject]
  SFBool [out]    triggerTrue 
}


DTD Validation

Children

Children must appear as follows:

  1. A single, optional IS.
  2. A single, optional node derived from X3DMetadataObject for the metadata field.

Attributes

None of the fields require any additional value validation.

Schema Validation

Children

Children must appear as follows:

  1. A single, optional IS.
  2. A single, optional node derived from X3DMetadataObject for the metadata field.

Attributes

None of the fields require any additional value validation.

Schematron validation

TBD