complexType X3DPickSensorNode

diagram |
type | extension of X3DSensorNode
properties |
base | X3DSensorNode
abstract | true
children | IS MetadataBoolean MetadataDouble MetadataFloat MetadataInteger MetadataSet MetadataString
used by |
elements | LinePickSensor PointPickSensor PrimitivePickSensor VolumePickSensor
attributes |
Name | Type | Use | Default | Fixed | Annotation
DEF | xs:ID |  |  |  |
appinfo
DEF defines a unique ID name for each node, referencable 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 XML stylesheets.
enabled | SFBool |  | true |  |
intersectionType | xs:NMTOKEN |  | BOUNDS |  |
matchCriterion | pickSensorMatchCriterionChoices |  | MATCH_ANY |  |
objectType | MFString |  | "ALL" |  |
sortOrder | xs:NMTOKEN |  | CLOSEST |  |
annotation |
appinfo
<!-- optional values, can be extended --> <xs:attribute name="objectType" type="pickableObjectTypeValues"/> <xs:attribute name="intersectionType" type="intersectionTypeValues"/> <xs:attribute name="sortOrder" type="pickSensorSortOrderValues"/> <xs:element name="pickingGeometry" type="SFNode" fixed="inputOutputField" default="X3DGeometryNode"/> <xs:element name="pickTarget" type="MFNode" fixed="inputOutputField" default="X3DGroupingNode|X3DShapeNode|Inline"/> <xs:element name="pickedGeometry" type="MFNode" fixed="outputOnlyField" default="X3DChildNode"/> <xs:attribute name="componentName" type="componentNameChoices" fixed="Picking"/> <xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="1"/> The X3DPickSensorNode abstract node type is the base node type that represents the lowest common denominator of picking capabilities.
source | <xs:complexType name="X3DPickSensorNode" abstract="true"> <xs:annotation> <xs:appinfo> <!-- optional values, can be extended --> <xs:attribute name="objectType" type="pickableObjectTypeValues"/> <xs:attribute name="intersectionType" type="intersectionTypeValues"/> <xs:attribute name="sortOrder" type="pickSensorSortOrderValues"/> <xs:element name="pickingGeometry" type="SFNode" fixed="inputOutputField" default="X3DGeometryNode"/> <xs:element name="pickTarget" type="MFNode" fixed="inputOutputField" default="X3DGroupingNode|X3DShapeNode|Inline"/> <xs:element name="pickedGeometry" type="MFNode" fixed="outputOnlyField" default="X3DChildNode"/> <xs:attribute name="componentName" type="componentNameChoices" fixed="Picking"/> <xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="1"/> The X3DPickSensorNode abstract node type is the base node type that represents the lowest common denominator of picking capabilities. </xs:appinfo> <xs:documentation source="https://www.web3d.org/documents/specifications/19775-1/V3.3/Part01/components/picking.html#X3DPickSensorNode"/> </xs:annotation> <xs:complexContent> <xs:extension base="X3DSensorNode"> <xs:attribute name="intersectionType" type="xs:NMTOKEN" default="BOUNDS"/> <xs:attribute name="matchCriterion" type="pickSensorMatchCriterionChoices" default="MATCH_ANY"/> <xs:attribute name="objectType" type="MFString" default='"ALL"'/> <xs:attribute name="sortOrder" type="xs:NMTOKEN" default="CLOSEST"/> </xs:extension> <!-- Content model for X3DPickingSensorNode types first has varied singleton pickingGeometry node, followed by pickTarget. --> <!-- Order of contained nodes is significant, singleton pickingGeometry shall precede pickTarget node array. This matches DTD content model. --> <!-- Because each of the nodes implementing X3DPickingSensorNode has a different content model, based on different pickingGeometry constraints, the content model is moved out of X3DPickingSensorNode and customized for each of the nodes. --> </xs:complexContent> </xs:complexType>

attribute X3DPickSensorNode/@intersectionType

type | xs:NMTOKEN
properties |
default | BOUNDS
source | <xs:attribute name="intersectionType" type="xs:NMTOKEN" default="BOUNDS"/>

attribute X3DPickSensorNode/@matchCriterion

type | pickSensorMatchCriterionChoices
properties |
default | MATCH_ANY
facets |
Kind | Value | Annotation
enumeration | MATCH_ANY |
enumeration | MATCH_EVERY |
enumeration | MATCH_ONLY_ONE |
source | <xs:attribute name="matchCriterion" type="pickSensorMatchCriterionChoices" default="MATCH_ANY"/>

attribute X3DPickSensorNode/@objectType

type | MFString
properties |
default | "ALL"
source | <xs:attribute name="objectType" type="MFString" default='"ALL"'/>

attribute X3DPickSensorNode/@sortOrder

type | xs:NMTOKEN
properties |
default | CLOSEST
source | <xs:attribute name="sortOrder" type="xs:NMTOKEN" default="CLOSEST"/>

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