Difference between revisions of "Billboard"

From Web3D.org
Jump to: navigation, search
 
Line 1: Line 1:
 
*[[Node Reference]]
 
*[[Node Reference]]
 +
 
==Billboard==
 
==Billboard==
  
Line 47: Line 48:
  
 
TBD
 
TBD
 +
 
*[[Node Reference]]
 
*[[Node Reference]]

Latest revision as of 07:11, 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