IDMW 2.0 XML-Schema Dokumentation
COLOR Element
IDMW 2.0 XML-Schema Dokumentation > T_NEW_CATALOG Element > FEATURE_DEFINITION Element > OPTION_DEFINITION Element > MATERIAL Element : COLOR Element
Description
This element is used to define colours.
Namespace (none)
Diagram
RGB_BLUE Element RGB_GREEN Element RGB_RED Element Sequence COLOR Element
Overview
COLOR
This element is used to define colours.
Sequence
RGB_RED Restriction of xs:nonNegativeInteger
These elements are used to specify a base colour (diffused reflection) of the material via the RGB value. It can only be used for single-colour materials.
0 = no colour intensity
255 = full colour intensity
   D   nonNegativeInteger
   P   
   M   [0:255]
RGB_GREEN Restriction of xs:nonNegativeInteger
These elements are used to specify a base colour (diffused reflection) of the material via the RGB value. It can only be used for single-colour materials.
0 = no colour intensity
255 = full colour intensity
   D   nonNegativeInteger
   P   
   M   [0:255]
RGB_BLUE Restriction of xs:nonNegativeInteger
These elements are used to specify a base colour (diffused reflection) of the material via the RGB value. It can only be used for single-colour materials.
0 = no colour intensity
255 = full colour intensity
   D   nonNegativeInteger
   P   
   M   [0:255]
Source
<xs:element name="COLOR" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:annotation>
    <xs:documentation>1000--0--NEW</xs:documentation>
    <xs:documentation>Version Beta 2.0 Build 0</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:sequence>
      <xs:element name="RGB_RED">
        <xs:annotation>
          <xs:documentation>260--11--RGB_Rot</xs:documentation>
          <xs:documentation>Version Beta 2.0 Build 0</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction base="xs:nonNegativeInteger">
            <xs:minInclusive value="0" />
            <xs:maxInclusive value="255" />
          </xs:restriction>
        </xs:simpleType>
      </xs:element>
      <xs:element name="RGB_GREEN">
        <xs:annotation>
          <xs:documentation>260--12--RGB_Gruen</xs:documentation>
          <xs:documentation>Version Beta 2.0 Build 0</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction base="xs:nonNegativeInteger">
            <xs:minInclusive value="0" />
            <xs:maxInclusive value="255" />
          </xs:restriction>
        </xs:simpleType>
      </xs:element>
      <xs:element name="RGB_BLUE">
        <xs:annotation>
          <xs:documentation>260--13--RGB_Blau</xs:documentation>
          <xs:documentation>Version Beta 2.0 Build 0</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction base="xs:nonNegativeInteger">
            <xs:minInclusive value="0" />
            <xs:maxInclusive value="255" />
          </xs:restriction>
        </xs:simpleType>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
</xs:element>
See Also
MATERIAL ElementOPTION_DEFINITION ElementFEATURE_DEFINITION ElementT_NEW_CATALOG ElementIDMW 2.0 XML-Schema Dokumentation