A node that renders only one of its children, according to the user's indication. More...
Public Member Functions | |
SwitchNode (string name) | |
int | getVisibleChild () |
Returns the index of the child that should be visible. | |
setVisibleChild (int index) | |
Specifies the particular child of this node, by index, that will be visible. | |
Static Public Member Functions | |
static TypeHandle | getClassType () |
A node that renders only one of its children, according to the user's indication.
SwitchNode | ( | string | name | ) |
static TypeHandle getClassType | ( | ) | [static] |
Reimplemented from SelectiveChildNode.
int getVisibleChild | ( | ) |
Returns the index of the child that should be visible.
setVisibleChild | ( | int | index | ) |
Specifies the particular child of this node, by index, that will be visible.