Difference between revisions of "BooleanSequencer"

From Web3D.org
Jump to: navigation, search
 
 
Line 1: Line 1:
 
*[[Node Reference]]
 
*[[Node Reference]]
 
==BooleanSequencer==
 
==BooleanSequencer==
 +
 +
Specification Link: [http://www.web3d.org/documents/specifications/19775-1/V3.3/Part01/components/utils.html#BooleanSequencer BooleanSequencer]
 +
 
<pre>
 
<pre>
 
BooleanSequencer : X3DSequencerNode {
 
BooleanSequencer : X3DSequencerNode {
Line 13: Line 16:
 
</pre>
 
</pre>
  
BooleanSequencer generates sequential SFBool events when driven from a TimeSensor clock. Among other actions, it can enable/disable lights and sensors, or bind/unbind Viewpoints and other X3DBindableNodes via set_bind 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.
  
The keyValue field is made up of a list of FALSE and TRUE values.
+
==Schematron validation==
  
 +
TBD
  
A BooleanSequencer shall be instanced for every node enabled or bound.
 
 
*[[Node Reference]]
 
*[[Node Reference]]

Latest revision as of 09:52, 25 April 2015

BooleanSequencer

Specification Link: BooleanSequencer

BooleanSequencer : X3DSequencerNode {
  SFBool  [in]     next
  SFBool  [in]     previous
  SFFloat [in]     set_fraction
  MFFloat [in,out] key           []   (-∞,∞) 
  MFBool  [in,out] keyValue 	 [] 
  SFNode  [in,out] metadata      NULL [X3DMetadataObject]
  SFBool  [out]    value_changed
}

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