Billboard

From Web3D.org
Revision as of 14:11, 24 April 2015 by Walroy (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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