Layout

Element Information

Model

Attributes

Used By

Element Group LayoutGroupContentModel

Source

<xs:element name="Layout">
  <xs:annotation>
    <xs:appinfo>
      <xs:attribute name="componentName" type="xs:NMTOKEN" fixed="Layout"/>
      <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/layout.html#Layout"/>
  </xs:annotation>
  <xs:complexType>
    <xs:complexContent>
      <xs:extension base="X3DLayoutNode">
        <xs:attribute name="align" type="alignValues" default=""CENTER" "CENTER""/>
        <xs:attribute name="offset" type="MFFloat" default="0 0"/>
        <xs:attribute name="offsetUnits" type="offsetUnitsValues" default=""WORLD" "WORLD"">
          <xs:annotation>
            <xs:appinfo>
              <xs:attribute name="componentName" type="xs:NMTOKEN" fixed="Layout"/>
              <xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="2"/>Support for "PIXEL" only required at level 2.</xs:appinfo>
          </xs:annotation>
        </xs:attribute>
        <xs:attribute name="scaleMode" type="scaleModeValues" default=""NONE" "NONE"">
          <xs:annotation>
            <xs:appinfo>
              <xs:attribute name="componentName" type="xs:NMTOKEN" fixed="Layout"/>
              <xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="2"/>Support for "PIXEL" only required at level 2.</xs:appinfo>
          </xs:annotation>
        </xs:attribute>
        <xs:attribute name="size" type="MFFloat" default="1 1"/>
        <xs:attribute name="sizeUnits" type="sizeUnitsValues" default=""WORLD" "WORLD"">
          <xs:annotation>
            <xs:appinfo>
              <xs:attribute name="componentName" type="xs:NMTOKEN" fixed="Layout"/>
              <xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="2"/>Support for "PIXEL" only required at level 2.</xs:appinfo>
          </xs:annotation>
        </xs:attribute>
        <xs:attribute name="containerField" type="xs:NMTOKEN" default="layout"/>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
</xs:element>

Sample