LayerSet

Element Information

Model

Attributes

Used By

Elements ProtoBody, Scene

Source

<xs:element name="LayerSet">
  <xs:annotation>
    <xs:appinfo>
      <xs:element name="layers" type="MFNode" fixed="inputOutputField" default="X3DLayerNode"/>
      <xs:attribute name="componentName" type="xs:NMTOKEN" fixed="Layering"/>
      <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/layering.html#LayerSet"/>
  </xs:annotation>
  <xs:complexType>
    <xs:complexContent>
      <xs:extension base="X3DNode">
        <xs:choice minOccurs="0" maxOccurs="unbounded">
          <xs:annotation>
            <xs:documentation>layers</xs:documentation>
          </xs:annotation>
          <xs:element ref="Layer"/>
          <xs:element ref="LayoutLayer"/>
          <xs:element ref="ProtoInstance">
            <xs:annotation>
              <xs:documentation>Appropriately typed substitution node</xs:documentation>
            </xs:annotation>
          </xs:element>
        </xs:choice>
        <xs:attribute name="activeLayer" type="SFInt32" default="0"/>
        <xs:attribute name="order" type="MFInt32" default="0"/>
        <xs:attribute name="containerField" type="xs:NMTOKEN" default="children"/>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
</xs:element>

Sample