CylinderSensor

Element Information

Model

Attributes

QName Type Fixed Default Use Inheritable Annotation
DEF xs:ID optional
USE xs:IDREF optional
autoOffset SFBool true optional
axisRotation SFRotation 0 1 0 0 optional
class xs:NMTOKENS optional
containerField xs:NMTOKEN children optional
description SFString optional
diskAngle restriction of SFFloat 0.26179167 optional
enabled SFBool true optional
maxAngle restriction of SFFloat -1 optional
minAngle restriction of SFFloat 0 optional
offset SFFloat 0 optional

Used By

Source

<xs:element name="CylinderSensor">
  <xs:annotation>
    <xs:appinfo>
      <xs:attribute name="rotation_changed" type="SFRotation" fixed="outputOnlyField"/>
      <xs:attribute name="componentName" type="xs:NMTOKEN" fixed="PointingDeviceSensor"/>
      <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/pointingsensor.html#CylinderSensor"/>
  </xs:annotation>
  <xs:complexType>
    <xs:complexContent>
      <xs:extension base="X3DDragSensorNode">
        <xs:attribute name="axisRotation" type="SFRotation" default="0 1 0 0"/>
        <xs:attribute name="diskAngle" default="0.26179167">
          <xs:simpleType>
            <xs:restriction base="SFFloat">
              <xs:minInclusive value="0"/>
              <xs:maxInclusive value="1.5708"/>
            </xs:restriction>
          </xs:simpleType>
        </xs:attribute>
        <xs:attribute name="maxAngle" default="-1">
          <xs:simpleType>
            <xs:restriction base="SFFloat">
              <xs:minExclusive value="-6.2832"/>
              <xs:maxExclusive value="6.2832"/>
            </xs:restriction>
          </xs:simpleType>
        </xs:attribute>
        <xs:attribute name="minAngle" default="0">
          <xs:simpleType>
            <xs:restriction base="SFFloat">
              <xs:minExclusive value="-6.2832"/>
              <xs:maxExclusive value="6.2832"/>
            </xs:restriction>
          </xs:simpleType>
        </xs:attribute>
        <xs:attribute name="offset" type="SFFloat" default="0"/>
        <xs:attribute name="containerField" type="xs:NMTOKEN" default="children"/>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
</xs:element>

Sample