Difference between revisions of "Billboard"

From Web3D.org
Jump to: navigation, search
(Created page with "*Node Reference ==Billboard== Specification Link: [http://www.web3d.org/documents/specifications/19775-1/V3.3/Part01/components/navigation.html#Billboard Billboard] <pre...")
 
Line 43: Line 43:
  
 
* The ''bboxSize'' field is checked to ensure that the three values are acceptable.
 
* The ''bboxSize'' field is checked to ensure that the three values are acceptable.
 
  
 
==Schematron validation==
 
==Schematron validation==

Revision as of 09:36, 24 April 2015

Billboard

Specification Link: Billboard

Billboard : X3GroupingNode {
  MFNode   [in]     addChildren               [X3DChildNode]
  MFNode   [in]     removeChildren            [X3DChildNode]
  SFVec3f  [in,out] axisOfRotation   0 1 0    (-∞,∞)
  MFNode   [in,out] children         []       [X3DChildNode]
  SFNode   [in,out] metadata         NULL     [X3DMetadataObject]
  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 children, all of which must either be derived from X3DChildNode or else be appropriately typed Prototype nodes. They may occur in any order.

Attributes

  • There is no check that the values in the bboxSize field are acceptable.

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 children, all of which must either be derived from X3DChildNode or else be appropriately typed Prototype nodes. They may occur in any order.

Attributes

  • The bboxSize field is checked to ensure that the three values are acceptable.

Schematron validation

TBD