element PrimitivePickSensor
diagram x3d-3.2_diagrams/x3d-3.2_p164.png
type extension of X3DPickSensorNode
properties
content complex
children IS MetadataDouble MetadataFloat MetadataInteger MetadataSet MetadataString Box Cone Cylinder Sphere Anchor Billboard Collision Group Inline LOD StaticGroup Switch Transform EspduTransform ReceiverPdu SignalPdu TransmitterPdu GeoLocation GeoLOD GeoTransform HAnimJoint NurbsSet CADAssembly CADLayer CADPart Viewport LayoutGroup ScreenGroup Shape ProtoInstance
used by
group ChildContentModelFull
attributes
Name  Type  Use  Default  Fixed  Annotation
DEF  xs:ID        
appinfo

DEF defines a unique ID name for each node, referenceable 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 Cascading Style Sheets (CSS) and XML stylesheets.
enabled  SFBool    true    
intersectionType  xs:NMTOKEN    BOUNDS    
matchCriterion  xs:NMTOKEN    MATCH_ANY    
objectType  MFString    "ALL"    
sortOrder  xs:NMTOKEN    CLOSEST    
containerField  xs:NMTOKEN    children    
annotation
appinfo
<xs:attribute name="componentName" type="componentNameChoices" fixed="Picking"/>
<xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="2"/>
If a non-uniform scale is applied to the pick sensor, correct results may require level 3 support.
source <xs:element name="PrimitivePickSensor">
 
<xs:annotation>
   
<xs:appinfo>
     
<xs:attribute name="componentName" type="componentNameChoices" fixed="Picking"/>
     
<xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="2"/>
If a non-uniform scale is applied to the pick sensor, correct results may require level 3 support.
</xs:appinfo>
   
<xs:documentation source="https://www.web3d.org/documents/specifications/19775-1/V3.3/Part01/components/picking.html#PrimitivePickSensor"/>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:complexContent>
     
<xs:extension base="X3DPickSensorNode">
       
<xs:sequence>
         
<!-- TODO determine whether strict ordering can be relaxed -->
         
<xs:choice minOccurs="0" maxOccurs="1">
           
<xs:annotation>
             
<xs:documentation>pickingGeometry</xs:documentation>
           
</xs:annotation>
           
<xs:element ref="Box"/>
           
<xs:element ref="Cone"/>
           
<xs:element ref="Cylinder"/>
           
<xs:element ref="Sphere"/>
           
<!-- if ProtoInstance is used as pickingGeometry, it can be picked up in next choice definitions -->
         
</xs:choice>
         
<xs:choice minOccurs="0" maxOccurs="unbounded">
           
<xs:annotation>
             
<xs:documentation>pickTarget</xs:documentation>
           
</xs:annotation>
           
<xs:group ref="PickSensorGroupingNodeContentModel"/>
           
<xs:element ref="Shape"/>
           
<xs:element ref="ProtoInstance">
             
<xs:annotation>
               
<xs:documentation>Appropriately typed substitution node</xs:documentation>
             
</xs:annotation>
           
</xs:element>
         
</xs:choice>
       
</xs:sequence>
       
<xs:attribute name="containerField" type="xs:NMTOKEN" default="children"/>
     
</xs:extension>
   
</xs:complexContent>
 
</xs:complexType>
</xs:element>

attribute PrimitivePickSensor/@containerField
type xs:NMTOKEN
properties
default children
source <xs:attribute name="containerField" type="xs:NMTOKEN" default="children"/>


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