NurbsPositionInterpolator

Element Information

Model

Attributes

Used By

Element Group ChildContentModelNurbs

Source

<xs:element name="NurbsPositionInterpolator">
  <xs:annotation>
    <xs:appinfo>
      <xs:attribute name="set_fraction" type="SFFloat" fixed="inputOnlyField"/>
      <xs:attribute name="value_changed" type="SFVec3f" fixed="outputOnlyField"/>
      <xs:attribute name="order" type="SFInt32" fixed="inputOutputField"/>
      <xs:element name="controlPoint" type="SFNode" fixed="inputOutputField" default="X3DCoordinateNode"/>
      <xs:attribute name="componentName" type="xs:NMTOKEN" fixed="NURBS"/>
      <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/nurbs.html#NurbsPositionInterpolator"/>
  </xs:annotation>
  <xs:complexType>
    <xs:complexContent>
      <xs:extension base="X3DChildNode">
        <xs:choice minOccurs="0" maxOccurs="1">
          <xs:annotation>
            <xs:documentation>controlPoint</xs:documentation>
          </xs:annotation>
          <xs:element ref="Coordinate"/>
          <xs:element ref="CoordinateDouble"/>
          <xs:element ref="ProtoInstance">
            <xs:annotation>
              <xs:documentation>Appropriately typed substitution node</xs:documentation>
            </xs:annotation>
          </xs:element>
        </xs:choice>
        <xs:attribute name="knot" type="MFDouble"/>
        <xs:attribute name="order" default="3">
          <xs:simpleType>
            <xs:restriction base="SFInt32">
              <xs:minInclusive value="2"/>
            </xs:restriction>
          </xs:simpleType>
        </xs:attribute>
        <xs:attribute name="weight" type="MFDouble"/>
        <xs:attribute name="containerField" type="xs:NMTOKEN" default="children"/>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
</xs:element>

Sample