simpleType SFColor

type | restriction of xs:string
properties |
base | xs:string
used by |
attributes | TwoSidedMaterial/@backDiffuseColor TwoSidedMaterial/@backEmissiveColor TwoSidedMaterial/@backSpecularColor Fog/@color LocalFog/@color MultiTexture/@color X3DFogObject/@color X3DLightNode/@color Material/@diffuseColor TwoSidedMaterial/@diffuseColor Material/@emissiveColor TwoSidedMaterial/@emissiveColor FillProperties/@hatchColor ColorDamper/@initialDestination ColorChaser/@initialDestination ColorDamper/@initialValue ColorChaser/@initialValue Material/@specularColor TwoSidedMaterial/@specularColor
facets |
Kind | Value | Annotation
whiteSpace | collapse |
pattern | (\s)*(([+]?((0(\.[0-9]*)?|\.[0-9]+)|1(\.0*)?)([Ee][+-]?[0-9]+)?)(\s)+){2}([+]?((0(\.[0-9]*)?|\.[0-9]+)|1(\.0*)?)([Ee][+-]?[0-9]+)?)(\s)* |
annotation |
appinfo
<xs:attribute name="defaultValue" type="SFColor" default="0 0 0"/> The SFColor field specifies one RGB (red-green-blue) color triple. Each color value is an RGB triple of floating point numbers in the range 0.0 to 1.0. The default value of an uninitialized SFColor field is (0 0 0). Warning: comma characters in attribute values do not pass strict XML validation.
source | <xs:simpleType name="SFColor"> <xs:annotation> <xs:appinfo> <xs:attribute name="defaultValue" type="SFColor" default="0 0 0"/> The SFColor field specifies one RGB (red-green-blue) color triple. Each color value is an RGB triple of floating point numbers in the range 0.0 to 1.0. The default value of an uninitialized SFColor field is (0 0 0). Warning: comma characters in attribute values do not pass strict XML validation. </xs:appinfo> <xs:documentation source="https://www.web3d.org/documents/specifications/19775-1/V3.3/Part01/fieldsDef.html#SFColorAndMFColor"/> </xs:annotation> <xs:restriction base="xs:string"> <xs:whiteSpace value="collapse"/> <xs:pattern value="(\s)*(([+]?((0(\.[0-9]*)?|\.[0-9]+)|1(\.0*)?)([Ee][+-]?[0-9]+)?)(\s)+){2}([+]?((0(\.[0-9]*)?|\.[0-9]+)|1(\.0*)?)([Ee][+-]?[0-9]+)?)(\s)*"/> <!-- min/max Inclusive/Exclusive range limits not validatable by XML Schema against string array --> </xs:restriction> </xs:simpleType>

XML Schema documentation generated by XMLSpy Schema Editor http://www.altova.com/xmlspy