Difference between revisions of "CollisionSpace"

From Web3D.org
Jump to: navigation, search
 
Line 6: Line 6:
 
<pre>
 
<pre>
 
CollisionSpace : X3DNBodyCollisionSpaceNode {
 
CollisionSpace : X3DNBodyCollisionSpaceNode {
   MFNode  [in,out] collidables   []   [X3DNBodyCollisionSpaceNode, X3DNBodyCollidableNode]
+
   MFNode  [in,out] collidables []       [X3DNBodyCollisionSpaceNode, X3DNBodyCollidableNode]
   SFBool  [in,out] enabled       TRUE
+
   SFBool  [in,out] enabled     TRUE
   SFNode  [in,out] metadata     NULL [X3DMetadataObject]
+
   SFNode  [in,out] metadata   NULL     [X3DMetadataObject]
   SFBool  [in,out] useGeometry   FALSE
+
   SFBool  [in,out] useGeometry FALSE
   SFVec3f  []      bboxCenter   0 0 0 (-&infin;,&infin;)
+
   SFVec3f  []      bboxCenter 0 0 0   (-&infin;,&infin;)
   SFVec3f  []      bboxSize     -1 -1 -1 [0,&infin;)  or -1 -1 -1
+
   SFVec3f  []      bboxSize   -1 -1 -1 [0,&infin;)  or -1 -1 -1
 
}
 
}
 
</pre>
 
</pre>

Latest revision as of 18:00, 9 June 2015

CollisionSpace

Specification Link: CollisionSpace

CollisionSpace : X3DNBodyCollisionSpaceNode {
  MFNode   [in,out] collidables []       [X3DNBodyCollisionSpaceNode, X3DNBodyCollidableNode]
  SFBool   [in,out] enabled     TRUE
  SFNode   [in,out] metadata    NULL     [X3DMetadataObject]
  SFBool   [in,out] useGeometry FALSE
  SFVec3f  []       bboxCenter  0 0 0    (-∞,∞)
  SFVec3f  []       bboxSize    -1 -1 -1 [0,∞)  or -1 -1 -1
}

DTD Validation

Children

Children must appear as follows:

  1. A single, optional IS.
  2. A single, optional node derived from X3DMetadataObject for the metadata field.
  3. Any number of nodes, including zero, of the following types:
    1. An appropriately typed Prototype node
    2. CollidableOffset
    3. CollidableShape
    4. CollisionSpace

Attributes

  • There are no fields requiring attribute value checking.

Schema Validation

Children

Children must appear as follows:

  1. A single, optional IS.
  2. A single, optional node derived from X3DMetadataObject for the metadata field.
  3. Any number of nodes, including zero, of the following types:
    1. An appropriately typed Prototype node
    2. CollidableOffset
    3. CollidableShape
    4. CollisionSpace

Attributes

  • There are no fields requiring attribute value checking.

Schematron validation

TBD