diagram | |||||||||||||||||||||||||||||||||||||||||||
type | extension of X3DSensorNode | ||||||||||||||||||||||||||||||||||||||||||
properties |
|
||||||||||||||||||||||||||||||||||||||||||
children | IS MetadataBoolean MetadataDouble MetadataFloat MetadataInteger MetadataSet MetadataString CollisionCollection ProtoInstance | ||||||||||||||||||||||||||||||||||||||||||
used by |
|
||||||||||||||||||||||||||||||||||||||||||
attributes |
|
||||||||||||||||||||||||||||||||||||||||||
annotation |
|
||||||||||||||||||||||||||||||||||||||||||
source | <xs:element name="CollisionSensor"> <xs:annotation> <xs:appinfo> <xs:element name="collider" type="SFNode" fixed="inputOutputField" default="CollisionCollection"/> <xs:element name="intersections" type="MFNode" fixed="outputOnlyField" default="X3DNBodyCollidableNode"/> <xs:element name="contacts" type="MFNode" fixed="outputOnlyField" default="Contact"> <xs:annotation> <xs:appinfo> <xs:attribute name="componentName" type="componentNameChoices" fixed="RigidBodyPhysics"/> <xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="2"/> </xs:appinfo> </xs:annotation> </xs:element> <xs:attribute name="componentName" type="componentNameChoices" fixed="RigidBodyPhysics"/> <xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="1"/> CollisionSensor generates collision-detection events. </xs:appinfo> <xs:documentation source="https://www.web3d.org/documents/specifications/19775-1/V3.3/Part01/components/rigid_physics.html#CollisionSensor"/> </xs:annotation> <xs:complexType> <xs:complexContent> <xs:extension base="X3DSensorNode"> <xs:choice minOccurs="0" maxOccurs="1"> <xs:annotation> <xs:documentation>collider</xs:documentation> </xs:annotation> <xs:element ref="CollisionCollection"/> <xs:element ref="ProtoInstance"> <xs:annotation> <xs:documentation>Appropriately typed substitution node</xs:documentation> </xs:annotation> </xs:element> </xs:choice> <xs:attribute name="containerField" type="xs:NMTOKEN" default="children"/> </xs:extension> </xs:complexContent> </xs:complexType> </xs:element> |
type | xs:NMTOKEN | ||
properties |
|
||
source | <xs:attribute name="containerField" type="xs:NMTOKEN" default="children"/> |