180

Using special-purpose groups
Selecting switch children

  • Select which child to render by:
  • Passing its child index to setWhichChild( )
  • Or by passing in a special value:
  • Render no children: CHILD_NONE
  • Render all children: CHILD_ALL
  • Or select a set of children with a bit mask
  • A value of CHILD_MASK enables mask use
  • Set a member of a Java BitSet for each child to render