Difference between revisions of "ColorRGBA"
From Web3D.org
Abergstrom (Talk | contribs) |
(→ColorRGBA) |
||
Line 1: | Line 1: | ||
* [[Node Reference]] | * [[Node Reference]] | ||
==ColorRGBA== | ==ColorRGBA== | ||
+ | |||
+ | Specification Link: [http://www.web3d.org/documents/specifications/19775-1/V3.3/Part01/components/rendering.html#ColorRGBA ColorRGBA] | ||
<pre> | <pre> | ||
Line 9: | Line 11: | ||
</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 ''color'' 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 ''color'' 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 09:05, 31 July 2015
Contents
ColorRGBA
Specification Link: ColorRGBA
ColorRGBA : X3DColorNode { MFColorRGBA [in,out] color [NULL] [0,1] SFNode [in,out] metadata NULL [X3DMetadataObject] }
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 color 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 color 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