ColorDamper
From Web3D.org
Revision as of 12:53, 29 July 2015 by Walroy (Talk | contribs) (Created page with "* Node Reference ==ColorDamper== Specification Link: [http://www.web3d.org/documents/specifications/19775-1/V3.3/Part01/components/followers.html#ColorDamper ColorDamper]...")
Contents
ColorDamper
Specification Link: ColorDamper
ColorDamper : X3DDamperNode { SFColor [in] set_destination SFColor [in] set_value SFNode [in,out] metadata NULL [X3DMetadataObject] SFTime [in,out] tau 0.3 [0, ∞) SFFloat [in,out] tolerance -1 -1 of [0, ∞) SFBool [out] isActive SFColor [out] value_changed SFColor [] initialDestination 0.8 0.8 0.8 [0,1] SFColor [] initialValue 0.8 0.8 0.8 [0,1] SFInt32 [] order 3 [0,5] }
DTD Validation
Children
Children must appear as follows:
- A single, optional IS.
- A single, optional node derived from X3DMetadataObject for the metadata field.
Attributes
- There is no check that the value of the tau field is acceptable.
- There is no check that the value of the tolerance 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.
- The order field is only permitted to take the value 0, 1, 2, 3, 4 or 5.
Note: The default value for the order field in the DTD is 0, whereas in the specification it is 3. This has been reported.
Schema Validation
Children
Children must appear as follows:
- A single, optional IS.
- A single, optional node derived from X3DMetadataObject for the metadata field.
Attributes
- The Schema does check that the value of the tau field is greater than or equal to zero.
- There is no check that the value of the tolerance field is acceptable.
- 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.
- The order field is only permitted to take the values between 0 and 5 inclusive.
Schematron validation
TBD