Difference between revisions of "ColorInterpolator"
From Web3D.org
Abergstrom (Talk | contribs) |
|||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
* [[Node Reference]] | * [[Node Reference]] | ||
==ColorInterpolator== | ==ColorInterpolator== | ||
+ | |||
+ | Specification Link: [http://www.web3d.org/documents/specifications/19775-1/V3.3/Part01/components/interp.html#ColorInterpolator ColorInterpolator] | ||
<pre> | <pre> | ||
− | + | ColorInterpolator : X3DInterpolatorNode { | |
− | + | SFFloat [in] set_fraction (-∞,∞) | |
− | + | MFFloat [in,out] key [] (-∞,∞) | |
− | + | MFColor [in,out] keyValue [] [0,1] | |
− | SFNode | + | SFNode [in,out] metadata NULL [X3DMetadataObject] |
− | + | SFColor [out] value_changed | |
− | + | ||
− | + | ||
} | } | ||
</pre> | </pre> | ||
− | |||
+ | ==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 values of the ''keyValue'' field are acceptable. | ||
+ | |||
+ | ==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 '' | + | * The Schema attempts to check that the values of the ''keyValue'' 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 | |
* [[Node Reference]] | * [[Node Reference]] |
Latest revision as of 08:40, 31 July 2015
Contents
ColorInterpolator
Specification Link: ColorInterpolator
ColorInterpolator : X3DInterpolatorNode { SFFloat [in] set_fraction (-∞,∞) MFFloat [in,out] key [] (-∞,∞) MFColor [in,out] keyValue [] [0,1] SFNode [in,out] metadata NULL [X3DMetadataObject] SFColor [out] value_changed }
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 values of the keyValue field are acceptable.
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 attempts to check that the values of the keyValue 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