connect

Element Information

Model

Attributes

QName Type Fixed Default Use Inheritable Annotation
nodeField xs:NMTOKEN required
protoField xs:NMTOKEN required

Used By

Element IS

Source

<xs:element name="connect">
  <xs:annotation>
    <xs:appinfo>
      <xs:attribute name="componentName" type="xs:NMTOKEN" fixed="Core"/>
      <xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="2"/>Functional summary: connect statements define event-routing connections between node fields defined inside a ProtoBody declaration back to corresponding ProtoInterface fields.</xs:appinfo>
    <xs:documentation source="http://www.web3d.org/documents/specifications/19776-1/V3.3/Part01/concepts.html#IS_ConnectStatementSyntax"/>
  </xs:annotation>
  <xs:complexType>
    <xs:complexContent>
      <xs:extension base="SceneGraphStructureStatement">
        <xs:attribute name="nodeField" type="xs:NMTOKEN" use="required"/>
        <xs:attribute name="protoField" type="xs:NMTOKEN" use="required"/>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
</xs:element>

Sample