Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | Class Members

AutoSwitch Class Reference
[Scene Graph]

#include <lvt/Group.h>

Inheritance diagram for AutoSwitch:

Inheritance graph
List of all members.

Detailed Description

Automatic switching between child objects.

Like a Switch, but renders a successive child on each call to Render(). For example:

  AutoSwitch *as = new AutoSwitch;
  Node *n1 = new Node, *n2 = new Node;


  as->Render();     //Renders n1
  as->Render();     //Renders n2
  as->Render();     //Renders n1

Protected Member Functions

virtual void RenderChildren ()
 Renders the currently selected child object.

Member Function Documentation

virtual void RenderChildren  )  [protected, virtual]

Renders the currently selected child object.

Reimplemented from Switch.

Generated on Thu Feb 17 09:45:47 2005 for liblvt by  doxygen 1.4.1