ParallelGraphics  
Home  »  Developer Zone  »  Products  »  Cortona VRML Client  »  VRML Extensions  »  OrderedGroup
OrderedGroup

EXTERNPROTO OrderedGroup [ 
  eventIn       MFNode   addChildren
  eventIn       MFNode   removeChildren
  exposedField  MFNode   children  #[]
  exposedField  MFFloat  order     #[]
]
[
  "urn:inet:parallelgraphics.com:cortona:OrderedGroup"
  "http://www.parallelgraphics.com/vrml/proto/Cortona/extensions.wrl#OrderedGroup"
]

OrderedGroup node is a grouping node which allows to set the order of the rendering of the coplanar or close shapes.

As in all grouping nodes, children field specifies a list of children nodes of the OrderedGroup node, addChildren and removeChildren fields specify the list of objects that shall be added or, respectively, removed from the OrderedGroup node.

order field is an array of floating point numbers. Each value of the order field corresponds to one child from the children field. The child that has the lowest order value is rendered first. Other children are rendered in increasing order. The last rendered child is a child with the highest order value. If the order field is empty, all the children of the OrderedGroup are rendered in the order, that is specified in the children field, from the first to the last.



Last updated: Thu, 20 Nov 2008
© 2000-2008 ParallelGraphics. All rights reserved.