ColorChaser

From Web3D.org
Jump to: navigation, search

ColorChaser

Specification Link: ColorChaser

ColorChaser : X3DChaserNode { 
  SFColor [in]     set_destination
  SFColor [in]     set_value
  SFNode  [in,out] metadata           NULL        [X3DMetadataObject]
  SFBool  [out]    isActive
  SFColor [out]    value_changed
  SFTime  []       duration           1           [0,∞)
  SFColor []       initialDestination 0.8 0.8 0.8 [0,1]
  SFColor []       initialValue       0.8 0.8 0.8 [0,1]
}

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

  • There is no check that the value of the duration field is acceptable.
  • There is no check that the values of the initialDestination field are acceptable.
  • There is no check that the values of the initialValue field are acceptable.

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

  • The Schema does check that the value of the duration field is greater than or equal to zero.
  • The Schema attempts to check that the values of the initialDestination field are within the range [0,1]. It does this successfully for values in decimal format but can fail for values in exponent format.
  • The Schema attempts to check that the values of the initialValue field are within the range [0,1]. It does this successfully for values in decimal format but can fail for values in exponent format.

Schematron validation

TBD