ROUTE

Element Information

Model

Attributes

QName Type Fixed Default Use Inheritable Annotation
fromField xs:NMTOKEN required
fromNode xs:IDREF required
toField xs:NMTOKEN required
toNode xs:IDREF required

Used By

Source

<xs:element name="ROUTE">
  <xs:annotation>
    <xs:appinfo>
      <xs:attribute name="additionalInterface" type="xs:string" default="X3DChildNode"/>
      <xs:attribute name="componentName" type="xs:NMTOKEN" fixed="Core"/>
      <xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="1"/>ROUTE connects output fields of event-producing nodes to input fields of event-consuming nodes.</xs:appinfo>
    <xs:documentation source="http://www.web3d.org/documents/specifications/19775-1/V3.3/Part01/concepts.html#ModifyingObjectsRoutes"/>
  </xs:annotation>
  <xs:complexType>
    <xs:complexContent>
      <xs:extension base="SceneGraphStructureStatement">
        <xs:attribute name="fromNode" type="xs:IDREF" use="required"/>
        <xs:attribute name="fromField" type="xs:NMTOKEN" use="required"/>
        <xs:attribute name="toNode" type="xs:IDREF" use="required"/>
        <xs:attribute name="toField" type="xs:NMTOKEN" use="required"/>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
</xs:element>

Sample