Difference between revisions of "Collision"
From Web3D.org
(eliminate garbage in form of random Unicode wingdings) |
|||
Line 1: | Line 1: | ||
* [[Node Reference]] | * [[Node Reference]] | ||
==Collision== | ==Collision== | ||
+ | |||
+ | Specification Link: [http://www.web3d.org/documents/specifications/19775-1/V3.4/Part01/components/navigation.html#Collision Collision] | ||
<pre> | <pre> | ||
Line 6: | Line 8: | ||
MFNode [in] addChildren [X3DChildNode] | MFNode [in] addChildren [X3DChildNode] | ||
MFNode [in] removeChildren [X3DChildNode] | MFNode [in] removeChildren [X3DChildNode] | ||
− | |||
MFNode [in,out] children [] [X3DChildNode] | MFNode [in,out] children [] [X3DChildNode] | ||
+ | SFBool [in,out] enabled TRUE | ||
SFNode [in,out] metadata NULL [X3DMetadataObject] | SFNode [in,out] metadata NULL [X3DMetadataObject] | ||
SFTime [out] collideTime | SFTime [out] collideTime | ||
Line 17: | Line 19: | ||
</pre> | </pre> | ||
− | + | ==DTD Validation== | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
+ | ===Children=== | ||
− | + | Children must appear as follows: | |
+ | # A single, optional IS. | ||
+ | # A single, optional node derived from ''X3DMetadataObject'' for the ''metadata'' field. | ||
+ | # Any number, including none, of nodes derived from ''X3DChildNode'' or Prototype nodes in any order. | ||
− | + | ===Attributes=== | |
+ | There is no validation of the numerical values of the ''bboxCenter'' or ''bboxSize'' fields. Neither is there any validation of the number of values. | ||
− | + | ==Schema Validation== | |
+ | ===Children=== | ||
− | + | Children must appear as follows: | |
+ | # A single, optional IS. | ||
+ | # A single, optional node derived from ''X3DMetadataObject'' for the ''metadata'' field. | ||
+ | # Any number, including none, of nodes derived from ''X3DChildNode'' or Prototype nodes in any order. | ||
− | + | ===Attributes=== | |
+ | * The ''bboxCenter'' field accepts a triplet of numerical values. | ||
+ | * The ''bboxsize'' field accepts either three positive values or the triplet -1 -1 -1. | ||
− | + | ==Schematron validation== | |
− | + | TBD | |
* [[Node Reference]] | * [[Node Reference]] |
Latest revision as of 14:50, 14 May 2015
Contents
Collision
Specification Link: Collision
Collision : X3DGroupingNode, X3DSensorNode { MFNode [in] addChildren [X3DChildNode] MFNode [in] removeChildren [X3DChildNode] MFNode [in,out] children [] [X3DChildNode] SFBool [in,out] enabled TRUE SFNode [in,out] metadata NULL [X3DMetadataObject] SFTime [out] collideTime SFBool [out] isActive SFVec3f [] bboxCenter 0 0 0 (-∞,∞) SFVec3f [] bboxSize -1 -1 -1 [0,∞) or −1 −1 −1 SFNode [] proxy NULL [X3DChildNode] }
DTD Validation
Children
Children must appear as follows:
- A single, optional IS.
- A single, optional node derived from X3DMetadataObject for the metadata field.
- Any number, including none, of nodes derived from X3DChildNode or Prototype nodes in any order.
Attributes
There is no validation of the numerical values of the bboxCenter or bboxSize fields. Neither is there any validation of the number of values.
Schema Validation
Children
Children must appear as follows:
- A single, optional IS.
- A single, optional node derived from X3DMetadataObject for the metadata field.
- Any number, including none, of nodes derived from X3DChildNode or Prototype nodes in any order.
Attributes
- The bboxCenter field accepts a triplet of numerical values.
- The bboxsize field accepts either three positive values or the triplet -1 -1 -1.
Schematron validation
TBD