ColorRGBA

Element Information

Model

Attributes

Used By

Source

<xs:element name="ColorRGBA">
  <xs:annotation>
    <xs:appinfo>
      <xs:attribute name="componentName" type="xs:NMTOKEN" fixed="Rendering"/>
      <xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="1"/>
    </xs:appinfo>
    <xs:documentation source="http://www.web3d.org/documents/specifications/19775-1/V3.3/Part01/components/rendering.html#ColorRGBA"/>
  </xs:annotation>
  <xs:complexType>
    <xs:complexContent>
      <xs:extension base="X3DColorNode">
        <xs:attribute name="color" type="MFColorRGBA">
          <xs:annotation>
            <xs:appinfo>
              <xs:attribute name="componentName" type="xs:NMTOKEN" fixed="Rendering"/>
              <xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="4"/>Alpha value optionally supported until Rendering component level 4.</xs:appinfo>
          </xs:annotation>
        </xs:attribute>
        <xs:attribute name="containerField" type="xs:NMTOKEN" default="color"/>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
</xs:element>

Sample