#include <lvt/Group.h>
Inheritance diagram for AutoSwitch:
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->AddChild(n1); as->AddChild(n2); as->Render(); //Renders n1 as->Render(); //Renders n2 as->Render(); //Renders n1
Protected Member Functions | |
virtual void | RenderChildren () |
Renders the currently selected child object. |
|
Renders the currently selected child object.
Reimplemented from Switch. |