element Layout

diagram |
type | extension of X3DLayoutNode
properties |
content | complex
children | IS MetadataBoolean MetadataDouble MetadataFloat MetadataInteger MetadataSet MetadataString
used by |
group | LayoutGroupContentModel
attributes |
Name | Type | Use | Default | Fixed | Annotation
DEF | xs:ID |  |  |  |
appinfo
DEF defines a unique ID name for each node, referencable by other nodes.
USE | xs:IDREF |  |  |  |
appinfo
USE means reuse an already DEF-ed node ID, excluding all child nodes and all other attributes (except for containerField, which can have a different value).
class | xs:NMTOKENS |  |  |  |
appinfo
The class attribute is a space-separated list of classes, reserved for use by XML stylesheets.
align | layoutAlignChoices |  | "CENTER" "CENTER" |  |
offset | MFFloat |  | 0 0 |  |
offsetUnits | layoutUnitsChoices |  | "WORLD" "WORLD" |  |
appinfo
<xs:attribute name="componentName" type="componentNameChoices" fixed="Layout"/> <xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="2"/> Support for "PIXEL" only required at level 2.
scaleMode | layoutScaleModeChoices |  | "NONE" "NONE" |  |
appinfo
<xs:attribute name="componentName" type="componentNameChoices" fixed="Layout"/> <xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="2"/> Support for "PIXEL" only required at level 2.
size | MFFloat |  | 1 1 |  |
sizeUnits | layoutUnitsChoices |  | "WORLD" "WORLD" |  |
appinfo
<xs:attribute name="componentName" type="componentNameChoices" fixed="Layout"/> <xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="2"/> Support for "PIXEL" only required at level 2.
containerField | xs:NMTOKEN |  | layout |  |
annotation |
appinfo
<xs:attribute name="componentName" type="componentNameChoices" fixed="Layout"/> <xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="1"/>
source | <xs:element name="Layout"> <xs:annotation> <xs:appinfo> <xs:attribute name="componentName" type="componentNameChoices" fixed="Layout"/> <xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="1"/> </xs:appinfo> <xs:documentation source="https://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="layoutAlignChoices" default='"CENTER" "CENTER"'/> <xs:attribute name="offset" type="MFFloat" default="0 0"/> <xs:attribute name="offsetUnits" type="layoutUnitsChoices" default='"WORLD" "WORLD"'> <xs:annotation> <xs:appinfo> <xs:attribute name="componentName" type="componentNameChoices" 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="layoutScaleModeChoices" default='"NONE" "NONE"'> <xs:annotation> <xs:appinfo> <xs:attribute name="componentName" type="componentNameChoices" 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="layoutUnitsChoices" default='"WORLD" "WORLD"'> <xs:annotation> <xs:appinfo> <xs:attribute name="componentName" type="componentNameChoices" 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>

attribute Layout/@align

type | layoutAlignChoices
properties |
default | "CENTER" "CENTER"
facets |
Kind | Value | Annotation
enumeration | "LEFT" "BOTTOM" |
enumeration | "LEFT" "CENTER" |
enumeration | "LEFT" "TOP" |
enumeration | "CENTER" "BOTTOM" |
enumeration | "CENTER" "CENTER" |
enumeration | "CENTER" "TOP" |
enumeration | "RIGHT" "BOTTOM" |
enumeration | "RIGHT" "CENTER" |
enumeration | "RIGHT" "TOP" |
source | <xs:attribute name="align" type="layoutAlignChoices" default='"CENTER" "CENTER"'/>

attribute Layout/@offset

type | MFFloat
properties |
default | 0 0
facets |
Kind | Value | Annotation
whiteSpace | collapse |
pattern | (\s)*(([+-]?((0|[1-9][0-9]*)(\.[0-9]*)?|\.[0-9]+)([Ee][+-]?[0-9]+)?)\s*,?\s*)* |
source | <xs:attribute name="offset" type="MFFloat" default="0 0"/>

attribute Layout/@offsetUnits

type | layoutUnitsChoices
properties |
default | "WORLD" "WORLD"
facets |
Kind | Value | Annotation
enumeration | "WORLD" "WORLD" |
enumeration | "WORLD" "FRACTION" |
enumeration | "WORLD" "PIXEL" |
enumeration | "FRACTION" "WORLD" |
enumeration | "FRACTION" "FRACTION" |
enumeration | "FRACTION" "PIXEL" |
enumeration | "PIXEL" "WORLD" |
enumeration | "PIXEL" "FRACTION" |
enumeration | "PIXEL" "PIXEL" |
annotation |
appinfo
<xs:attribute name="componentName" type="componentNameChoices" fixed="Layout"/> <xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="2"/> Support for "PIXEL" only required at level 2.
source | <xs:attribute name="offsetUnits" type="layoutUnitsChoices" default='"WORLD" "WORLD"'> <xs:annotation> <xs:appinfo> <xs:attribute name="componentName" type="componentNameChoices" 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>

attribute Layout/@scaleMode

type | layoutScaleModeChoices
properties |
default | "NONE" "NONE"
facets |
Kind | Value | Annotation
enumeration | "NONE" "NONE" |
enumeration | "NONE" "FRACTION" |
enumeration | "NONE" "STRETCH" |
enumeration | "NONE" "PIXEL" |
enumeration | "FRACTION" "NONE" |
enumeration | "FRACTION" "FRACTION" |
enumeration | "FRACTION" "STRETCH" |
enumeration | "FRACTION" "PIXEL" |
enumeration | "STRETCH" "NONE" |
enumeration | "STRETCH" "FRACTION" |
enumeration | "STRETCH" "STRETCH" |
enumeration | "STRETCH" "PIXEL" |
enumeration | "PIXEL" "NONE" |
enumeration | "PIXEL" "FRACTION" |
enumeration | "PIXEL" "STRETCH" |
enumeration | "PIXEL" "PIXEL" |
annotation |
appinfo
<xs:attribute name="componentName" type="componentNameChoices" fixed="Layout"/> <xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="2"/> Support for "PIXEL" only required at level 2.
source | <xs:attribute name="scaleMode" type="layoutScaleModeChoices" default='"NONE" "NONE"'> <xs:annotation> <xs:appinfo> <xs:attribute name="componentName" type="componentNameChoices" 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>

attribute Layout/@size

type | MFFloat
properties |
default | 1 1
facets |
Kind | Value | Annotation
whiteSpace | collapse |
pattern | (\s)*(([+-]?((0|[1-9][0-9]*)(\.[0-9]*)?|\.[0-9]+)([Ee][+-]?[0-9]+)?)\s*,?\s*)* |
source | <xs:attribute name="size" type="MFFloat" default="1 1"/>

attribute Layout/@sizeUnits

type | layoutUnitsChoices
properties |
default | "WORLD" "WORLD"
facets |
Kind | Value | Annotation
enumeration | "WORLD" "WORLD" |
enumeration | "WORLD" "FRACTION" |
enumeration | "WORLD" "PIXEL" |
enumeration | "FRACTION" "WORLD" |
enumeration | "FRACTION" "FRACTION" |
enumeration | "FRACTION" "PIXEL" |
enumeration | "PIXEL" "WORLD" |
enumeration | "PIXEL" "FRACTION" |
enumeration | "PIXEL" "PIXEL" |
annotation |
appinfo
<xs:attribute name="componentName" type="componentNameChoices" fixed="Layout"/> <xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="2"/> Support for "PIXEL" only required at level 2.
source | <xs:attribute name="sizeUnits" type="layoutUnitsChoices" default='"WORLD" "WORLD"'> <xs:annotation> <xs:appinfo> <xs:attribute name="componentName" type="componentNameChoices" 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>

attribute Layout/@containerField

type | xs:NMTOKEN
properties |
default | layout
source | <xs:attribute name="containerField" type="xs:NMTOKEN" default="layout"/>

XML Schema documentation generated by XMLSpy Schema Editor http://www.altova.com/xmlspy