Definition Type: Element
Name: Layout
Type: X3DLayoutNode
Containing Schema: x3d-3.2.xsd
Abstract
Collapse XSD Schema Diagram:
Drilldown into MetadataString in schema x3d-3_2_xsd Drilldown into MetadataSet in schema x3d-3_2_xsd Drilldown into MetadataInteger in schema x3d-3_2_xsd Drilldown into MetadataFloat in schema x3d-3_2_xsd Drilldown into MetadataDouble in schema x3d-3_2_xsd Drilldown into ChildContentModelCore in schema x3d-3_2_xsd Drilldown into IS in schema x3d-3_2_xsd Drilldown into class in schema x3d-3_2_xsd Drilldown into globalAttributes in schema x3d-3_2_xsd Drilldown into USE in schema x3d-3_2_xsd Drilldown into DEF in schema x3d-3_2_xsd Drilldown into DEF_USE in schema x3d-3_2_xsd Drilldown into X3DNode in schema x3d-3_2_xsd Drilldown into containerField in schema x3d-3_2_xsd Drilldown into X3DChildNode in schema x3d-3_2_xsd Drilldown into X3DLayoutNode in schema x3d-3_2_xsd Drilldown into sizeUnits in schema x3d-3_2_xsd Drilldown into size in schema x3d-3_2_xsd Drilldown into scaleMode in schema x3d-3_2_xsd Drilldown into offsetUnits in schema x3d-3_2_xsd Drilldown into offset in schema x3d-3_2_xsd Drilldown into align in schema x3d-3_2_xsdXSD Diagram of Layout in schema x3d-3_2_xsd (Web3D - Open Standards for Real-Time 3D Communication)
Collapse XSD Schema Code:
<xs:element name="Layout">
    <xs:annotation>
        <xs:appinfo />
        <xs:documentation />
    </xs:annotation>
    <xs:complexType mixed="false">
        <xs:complexContent mixed="false">
            <xs:extension base="X3DLayoutNode">
                <xs:attribute name="align" type="MFString" default="&quot;CENTER&quot; &quot;CENTER&quot;" />
                <xs:attribute name="offset" type="MFFloat" default="0 0" />
                <xs:attribute name="offsetUnits" type="MFString" default="&quot;WORLD&quot; &quot;WORLD&quot;" />
                <xs:attribute name="scaleMode" type="MFString" default="&quot;NONE&quot; &quot;NONE&quot;" />
                <xs:attribute name="size" type="MFFloat" default="1 1" />
                <xs:attribute name="sizeUnits" type="MFString" default="&quot;WORLD&quot; &quot;WORLD&quot;" />
            </xs:extension>
            <!-- TODO: how to override X3DGroupingNode value containerField='children' ?
					<xs:attribute name="containerField" type="xs:NMTOKEN" default="layout"/> -->
            <!-- TODO:  MFString enumeration constraints in stylesheet -->
        </xs:complexContent>
    </xs:complexType>
</xs:element>
Collapse Child Elements:
Name Type Min Occurs Max Occurs
IS IS 0 (1)
MetadataDouble MetadataDouble (1) (1)
MetadataFloat MetadataFloat (1) (1)
MetadataInteger MetadataInteger (1) (1)
MetadataSet MetadataSet (1) (1)
MetadataString MetadataString (1) (1)
<xs:group> ChildContentModelCore 0 (1)
Collapse Child Attributes:
Name Type Default Value Use
DEF DEF (Optional)
USE USE (Optional)
class class (Optional)
containerField containerField children (Optional)
align align "CENTER" "CENTER" (Optional)
offset offset 0 0 (Optional)
offsetUnits offsetUnits "WORLD" "WORLD" (Optional)
scaleMode scaleMode "NONE" "NONE" (Optional)
size size 1 1 (Optional)
sizeUnits sizeUnits "WORLD" "WORLD" (Optional)
Collapse Derivation Tree: